[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog emacs-lisp/lisp-mode.el
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog emacs-lisp/lisp-mode.el |
Date: |
Sun, 21 Jun 2009 01:39:47 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 09/06/21 01:39:46
Modified files:
lisp : ChangeLog
lisp/emacs-lisp: lisp-mode.el
Log message:
(lisp-indent-function): Add doc string.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.15701&r2=1.15702
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/emacs-lisp/lisp-mode.el?cvsroot=emacs&r1=1.239&r2=1.240
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15701
retrieving revision 1.15702
diff -u -b -r1.15701 -r1.15702
--- ChangeLog 21 Jun 2009 01:16:55 -0000 1.15701
+++ ChangeLog 21 Jun 2009 01:39:43 -0000 1.15702
@@ -1,5 +1,6 @@
2009-06-21 Glenn Morris <address@hidden>
+ * emacs-lisp/lisp-mode.el (lisp-indent-function)
* emacs-lisp/cl-indent.el (lisp-indent-defun-method)
(common-lisp-indent-function): Add doc strings.
Index: emacs-lisp/lisp-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emacs-lisp/lisp-mode.el,v
retrieving revision 1.239
retrieving revision 1.240
diff -u -b -r1.239 -r1.240
--- emacs-lisp/lisp-mode.el 7 Jun 2009 07:21:32 -0000 1.239
+++ emacs-lisp/lisp-mode.el 21 Jun 2009 01:39:46 -0000 1.240
@@ -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.