aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-10-26 07:34:46 +0000
committerGlenn Morris2007-10-26 07:34:46 +0000
commitb1ac90c50af8342f341b22d532aa3304c99147cf (patch)
treebbfc6c7a803f43bdbcaf56fab5b223ea32e416f5
parent7e6e7dab540bbcb45c887c81bc45437c9c7cf84d (diff)
downloademacs-b1ac90c50af8342f341b22d532aa3304c99147cf.tar.gz
emacs-b1ac90c50af8342f341b22d532aa3304c99147cf.zip
(byte-compile-warnings): Autoload the safe-local-variable property.
-rw-r--r--lisp/emacs-lisp/bytecomp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 6cc61426f3b..493977304b1 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -364,7 +364,8 @@ Elements of the list may be:
364 (const callargs) (const redefine) 364 (const callargs) (const redefine)
365 (const obsolete) (const noruntime) 365 (const obsolete) (const noruntime)
366 (const cl-functions) (const interactive-only)))) 366 (const cl-functions) (const interactive-only))))
367(put 'byte-compile-warnings 'safe-local-variable 'byte-compile-warnings-safe-p) 367;;;###autoload(put 'byte-compile-warnings 'safe-local-variable 'byte-compile-warnings-safe-p)
368
368;;;###autoload 369;;;###autoload
369(defun byte-compile-warnings-safe-p (x) 370(defun byte-compile-warnings-safe-p (x)
370 (or (booleanp x) 371 (or (booleanp x)