# HG changeset patch # User Richard M. Stallman # Date 769668957 0 # Node ID 86001e904ef332622e3f16fd6d9281d2b49d8ce7 # Parent 22f0d77ec290f892be8039ffc9d43b9946c78495 (hack-one-local-variable): Check properly for `defun. diff -r 22f0d77ec290 -r 86001e904ef3 lisp/files.el --- 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.