From a25beddb336ccc3f7d40dc7e9c73e042bf1da366 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 14 Jul 2007 19:03:22 +0000 Subject: [PATCH] (generated-autoload-file): Autoload the safe-local-variable setting. --- lisp/ChangeLog | 11 ++++++++--- lisp/emacs-lisp/autoload.el | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f8628f540d5..bc94864ac44 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-07-14 Stefan Monnier + + * emacs-lisp/autoload.el (generated-autoload-file): Autoload the + safe-local-variable setting. + 2007-07-14 David Kastrup * emacs-lisp/advice.el (defadvice): Doc fix. @@ -17,8 +22,8 @@ (bookmark-map): Bind it to "o". http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html - and its thread contains discussion about this change. The - original patch was slightly tweaked by Karl Fogel + and its thread contains discussion about this change. + The original patch was slightly tweaked by Karl Fogel before committing. 2007-07-13 Karl Fogel @@ -29,7 +34,7 @@ * bookmark.el: Don't define bookmark keys under the "C-xr" map; instead, make "C-xp" a prefix for bookmark-map. Patch by Drew - Adams , mildly tweaked by me. See + Adams , mildly tweaked by me. See http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html. 2007-07-13 Carsten Dominik diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index d057ee028dc..90943b33e49 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -41,6 +41,7 @@ A `.el' file can set this in its local variables section to make its autoloads go somewhere else. The autoload file is assumed to contain a trailer starting with a FormFeed character.") +;;;###autoload (put 'generated-autoload-file 'safe-local-variable 'stringp) ;; This feels like it should be a defconst, but MH-E sets it to -- 2.39.2