Emacs Lisp: Documentation Lookup

By Xah Lee. Date: .

Call describe-functionCtrl+h f】, then type the function name.

Call describe-variableCtrl+h v】 for doc string of variables.

emacs describe-function
emacs describe-function output

You can use the asterisk * as a wildcard when looking up function doc. For example, type 【Ctrl+h f *file Tab ⇥】 and emacs will list all functions whose name ends in “file”.

Once the function's doc string page comes up, you can jump to the function's location in source code by clicking on underlined file name (or press Tab ⇥ to move your cursor to the link then press Enter ↵).

How to Search Doc

Emacs Lisp: Search Documentation

Emacs Lisp Basics Topic

  1. Emacs Lisp Basics
  2. Overview of Text-Processing in Emacs Lisp
  3. Emacs Lisp Examples, page 1
  4. How to Evaluate Emacs Lisp Code
  5. Emacs Lisp: Documentation Lookup
  6. Emacs Lisp: Search Documentation
  7. How to Edit Lisp Code with Emacs
Like it? Buy Xah Emacs Tutorial. Thanks.

or, buy something from Best Keyboard for Emacs