From 6a83140588c243ad5aa0f85d903b843679d9c09c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 26 Oct 2007 07:35:31 +0000 Subject: [PATCH] (byte-compile-warnings): Autoload the safe-local-variable property. --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/bytecomp.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e613f36822a..17c3e0af8c9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-26 Glenn Morris + + * emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the + safe-local-variable property. + 2007-10-26 Gwern Branwen (tiny change) * net/browse-url.el (browse-url-browser-function): Delete grail. diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 5a5c639f0a6..94c22e8cc63 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -371,7 +371,8 @@ Elements of the list may be: (const obsolete) (const noruntime) (const cl-functions) (const interactive-only) (const make-local) (const mapcar)))) -(put 'byte-compile-warnings 'safe-local-variable 'byte-compile-warnings-safe-p) +;;;###autoload(put 'byte-compile-warnings 'safe-local-variable 'byte-compile-warnings-safe-p) + ;;;###autoload (defun byte-compile-warnings-safe-p (x) (or (booleanp x) -- 2.39.2