]> git.eshelyaron.com Git - emacs.git/commitdiff
(hack-one-local-variable): Check properly for `defun.
authorRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 04:55:57 +0000 (04:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 04:55:57 +0000 (04:55 +0000)
lisp/files.el

index 9d60132d495b103a55e3f56db5631798425521c2..b64bb047af4537879be14bfd926a74e72c1cc302 100644 (file)
@@ -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.