andersch.dev

<2022-05-08 Sun>

Emacs Lisp (elisp)

Emacs Lisp (elisp) is a Lisp dialect created specifically for the Emacs text editor.

Style guide

Use spaces over tabs and align function parameters or let bindings. Do not align the body of a let, if, when, etc..

(format "%s %d"
        something
        something-else)

(let ((thing1 "a string")
      (thing2 3.141))
  body)

Resources