DarwinAwardWinner / with-simulated-input

Test your interactive elisp functions non-interactively!
GNU General Public License v3.0
38 stars 4 forks source link

Request: let macro indent things a bit! #19

Closed Trevoke closed 1 year ago

Trevoke commented 1 year ago

If you add (declare (indent 2)) to the beginning of the macro it will tell the emacs editor to indent two spaces (you can use 4, 7, whatever) anything in the block and I find it more readable. :D

DarwinAwardWinner commented 1 year ago

The N in (declare (indent N)) does not determine the number of spaces to indent, it determines the number of arguments to indent specially. with-simulated-input already declares (indent 1) since only the first argument is different from the rest.