Mercurial > emacs
changeset 103499:247269056555
(lisp-indent-function): Add doc string.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 21 Jun 2009 01:39:43 +0000 |
parents | 4470991d3249 |
children | d0e3ea40717c |
files | lisp/ChangeLog lisp/emacs-lisp/lisp-mode.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sun Jun 21 01:16:55 2009 +0000 +++ b/lisp/ChangeLog Sun Jun 21 01:39:43 2009 +0000 @@ -1,5 +1,6 @@ 2009-06-21 Glenn Morris <rgm@gnu.org> + * emacs-lisp/lisp-mode.el (lisp-indent-function) * emacs-lisp/cl-indent.el (lisp-indent-defun-method) (common-lisp-indent-function): Add doc strings.
--- a/lisp/emacs-lisp/lisp-mode.el Sun Jun 21 01:16:55 2009 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Sun Jun 21 01:39:43 2009 +0000 @@ -880,7 +880,12 @@ (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.