1

What does this backslash syntax mean?

(defun elfeed-search-mode ()
  "Major mode for listing elfeed feed entries.
\\{elfeed-search-mode-map}"
  (interactive)
  • 1
    It's \\{, not just two backslashes, and it's in a doc string, not a comment. – Drew Jun 27 '18 at 22:09
2

This form expands to a summary of a keymap.

From (elisp) Keys in Documentation:

\{MAPVAR}
stands for a summary of the keymap which is the value of the variable MAPVAR. The summary is made using describe-bindings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.