comparison lisp/emacs-lisp/lisp-mode.el @ 103499:247269056555

(lisp-indent-function): Add doc string.
author Glenn Morris <rgm@gnu.org>
date Sun, 21 Jun 2009 01:39:43 +0000
parents 35fd76739f2f
children ce2fc4a55d15
comparison
equal deleted inserted replaced
103498:4470991d3249 103499:247269056555
878 :group 'lisp 878 :group 'lisp
879 :type '(choice (const nil) integer)) 879 :type '(choice (const nil) integer))
880 (put 'lisp-body-indent 'safe-local-variable 880 (put 'lisp-body-indent 'safe-local-variable
881 (lambda (x) (or (null x) (integerp x)))) 881 (lambda (x) (or (null x) (integerp x))))
882 882
883 (defvar lisp-indent-function 'lisp-indent-function) 883 (defvar lisp-indent-function 'lisp-indent-function
884 "A function to be called by `calculate-lisp-indent'.
885 It indents the arguments of a Lisp function call. This function
886 should accept two arguments: the indent-point, and the
887 `parse-partial-sexp' state at that position. One option for this
888 function is `common-lisp-indent-function'.")
884 889
885 (defun lisp-indent-line (&optional whole-exp) 890 (defun lisp-indent-line (&optional whole-exp)
886 "Indent current line as Lisp code. 891 "Indent current line as Lisp code.
887 With argument, indent any additional lines of the same expression 892 With argument, indent any additional lines of the same expression
888 rigidly along with this one." 893 rigidly along with this one."