New answers tagged defun
0
votes
How to correctly define functions with defun inside a macro?
I admit I don't fully understand why, but the following code, created by following the example found here (https://stackoverflow.com/a/46430948), seems to work:
Macro that defines functions without ...
Top 50 recent answers are included
Related Tags
defun × 46functions × 9
evil × 5
interactive × 5
elisp-macros × 4
lexical-scoping × 4
variables × 3
kill-ring × 3
elisp × 2
text-editing × 2
help × 2
commands × 2
byte-compilation × 2
yank × 2
symbols × 2
buffer-local × 2
let-binding × 2
doc-strings × 2
lexical-binding × 2
symbol-function × 2
avy × 2
closures × 2
defalias × 2
defmacro × 2
key-bindings × 1