Mercurial > emacs
changeset 7643:86001e904ef3
(hack-one-local-variable): Check properly for `defun.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 23 May 1994 04:55:57 +0000 |
parents | 22f0d77ec290 |
children | d50f6828a89d |
files | lisp/files.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Mon May 23 04:53:44 1994 +0000 +++ b/lisp/files.el Mon May 23 04:55:57 1994 +0000 @@ -1136,7 +1136,7 @@ ;; Only allow safe values of lisp-indent-hook; ;; not functions. (or (numberp (nth 3 val)) - (eq (nth 3 val) 'defun)) + (equal (nth 3 val) ''defun)) (memq (nth 1 (nth 2 val)) '(lisp-indent-hook))) ;; Permit eval if not root and user says ok.