From: Richard M. Stallman Date: Mon, 23 May 1994 04:55:57 +0000 (+0000) Subject: (hack-one-local-variable): Check properly for `defun. X-Git-Tag: emacs-19.34~8210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc417415cbc446ecdb09df11354e3d5089631fd4;p=emacs.git (hack-one-local-variable): Check properly for `defun. --- diff --git a/lisp/files.el b/lisp/files.el index 9d60132d495..b64bb047af4 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1136,7 +1136,7 @@ If `enable-local-variables' is nil, this function does not check for a ;; 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.