From: Glenn Morris Date: Wed, 15 Aug 2012 19:03:14 +0000 (-0400) Subject: * lisp/vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean. X-Git-Tag: emacs-24.2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6652b0bc0ab3eb055f64f819fdb3c2329d7400b3;p=emacs.git * lisp/vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean. Do not merge to trunk. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7293a4626ff..d205e36a749 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,10 @@ * Version 24.2 released. +2012-08-15 Glenn Morris + + * vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean. + 2012-08-15 Leo Liu * net/rcirc.el (rcirc-split-message): Fix for buffer-local diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index 54d548c09da..4ef2732382e 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el @@ -360,6 +360,12 @@ automatically." 'log-edit-header) nil lax))))) +;; Used in Emacs 24.3+, and in Emacs's .dir-locals.el file. +;; This is a convenience setting so that people committing files +;; to Emacs trunk with Emacs 24point2 do not always get queried +;; about this variable being potentially unsafe. +(put 'log-edit-font-lock-gnu-style 'safe-local-variable 'booleanp) + ;;;###autoload (defun log-edit (callback &optional setup params buffer mode &rest _ignore) "Setup a buffer to enter a log message.