changeset 3638:45169f86d3a4

(lisp-indent-function): Look for either lisp-indent-hook or lisp-indent-function property.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Jun 1993 07:00:05 +0000
parents 6ac165163a9b
children 70a688f0cdae
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Fri Jun 11 06:49:23 1993 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Fri Jun 11 07:00:05 1993 +0000
@@ -414,7 +414,8 @@
       (let ((function (buffer-substring (point)
 					(progn (forward-sexp 1) (point))))
 	    method)
-	(setq method (get (intern-soft function) 'lisp-indent-function))
+	(setq method (or (get (intern-soft function) 'lisp-indent-function)
+			 (get (intern-soft function) 'lisp-indent-hook)))
 	(cond ((or (eq method 'defun)
 		   (and (null method)
 			(> (length function) 3)