* lisp/vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean.

Do not merge to trunk.
This commit is contained in:
Glenn Morris 2012-08-15 15:03:14 -04:00
parent e84a9018ec
commit 6652b0bc0a
2 changed files with 10 additions and 0 deletions

View file

@ -2,6 +2,10 @@
* Version 24.2 released.
2012-08-15 Glenn Morris <rgm@gnu.org>
* vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean.
2012-08-15 Leo Liu <sdl.web@gmail.com>
* net/rcirc.el (rcirc-split-message): Fix for buffer-local

View file

@ -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.