diff options
author | Glenn Morris <rgm@gnu.org> | 2009-06-21 01:39:43 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-06-21 01:39:43 +0000 |
commit | c4ea8f00497998895c170cafbdfb42aedf678a3a (patch) | |
tree | c27052630703ff802fe3e29bed6476f6a272c8d8 /lisp/emacs-lisp | |
parent | 0ae8ebe848c4ca61cdbe95c86d84b5f0685ca5b1 (diff) | |
download | emacs-c4ea8f00497998895c170cafbdfb42aedf678a3a.tar.gz emacs-c4ea8f00497998895c170cafbdfb42aedf678a3a.tar.bz2 emacs-c4ea8f00497998895c170cafbdfb42aedf678a3a.zip |
(lisp-indent-function): Add doc string.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 45ed753d37b..ec97a00ab0c 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -880,7 +880,12 @@ which see." (put 'lisp-body-indent 'safe-local-variable (lambda (x) (or (null x) (integerp x)))) -(defvar lisp-indent-function 'lisp-indent-function) +(defvar lisp-indent-function 'lisp-indent-function + "A function to be called by `calculate-lisp-indent'. +It indents the arguments of a Lisp function call. This function +should accept two arguments: the indent-point, and the +`parse-partial-sexp' state at that position. One option for this +function is `common-lisp-indent-function'.") (defun lisp-indent-line (&optional whole-exp) "Indent current line as Lisp code. |