1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

* lisp/vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.

This commit is contained in:
Stefan Monnier 2010-10-28 10:36:59 -04:00
parent 4abff9048d
commit a62b88d401
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2010-10-28 Glenn Morris <rgm@gnu.org>
* term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):

View File

@ -579,6 +579,8 @@ The value should be of the form (REGEXP . REPLACEMENT)
where REGEXP should match the expression referring to a bug number
in the text, and REPLACEMENT is an expression to pass to `replace-match'
to build the Fixes: header.")
(put 'log-edit-rewrite-fixes 'safe-local-variable
(lambda (v) (and (stringp (car-safe v)) (stringp (cdr v)))))
(defun log-edit-insert-changelog (&optional use-first)
"Insert a log message by looking at the ChangeLog.