this post was submitted on 05 Aug 2023
1 points (100.0% liked)
Emacs
2200 readers
9 users here now
Our infinitely powerful editor.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I looked at the macro expansion of the form you wrote and it looks like gibberish, so I don't think the
:hook
keyword allows expressions to be used as hooks, you need to define a function and use the function name:Also, the weird single quote character you used probably doesn't work in Emacs (but maybe you have normal single quotes in your file and it's just lemmy's markdown messing things up).