New answers tagged

0 votes

Alternative to lexical-let

You can make precisely scoped lexical bindings of specific variables with eval - it has an optional second parameter for lexical bindings. For example, if you evaluate (eval '(lambda (x) (...
mtraceur's user avatar
  • 346
0 votes

Is there a better way to handle multiline docstrings in elisp?

Revisiting this, going some of the things that I have done with @Stefan's accepted answer - which addresses the example of indentation in my original question, and possibly more: (Exaggerated code ...
Krazy Glew's user avatar
1 vote

How do I get the name (string) of a compiled function?

Not sure when this became possible but there is now an built in emacs function to get the name of a compiled function called subr-name This can be used for conditionals as OP was looking for. For ...
thomasSDK's user avatar

Top 50 recent answers are included