emacs/elisp: What is the hash (pound, number sign, octothorp) symbol used for?

前端 未结 3 1678
情书的邮戳
情书的邮戳 2020-12-07 14:10

What does this do?

(add-hook \'compilation-mode-hook #\'my-setup-compile-mode)

...and is it different than

(add-hook \'com         


        
3条回答
  •  执念已碎
    2020-12-07 14:55

    The should-be-comprehensive list can be found at the top of the Emacs lisp reference index.

    Edit: Or even more conveniently, from within Emacs itself:

    • M-x info RET (open the info browser)

    • d m elisp RET (open the elisp manual)

    • I # RET (list the entries for # in the index)

提交回复
热议问题