summaryrefslogtreecommitdiff
path: root/lisp/vc/log-edit.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2010-11-01 16:53:08 +0900
committerKenichi Handa <handa@m17n.org>2010-11-01 16:53:08 +0900
commitf6f3366160e26ff5984f287e60616ec9f90acfa3 (patch)
tree9f5c8dc73cad6319a8fdf1ab22fd4e9901089e50 /lisp/vc/log-edit.el
parent65b6b59a8030b09d2a32ee88837a061e22751988 (diff)
parentca7c89d8f52b34f694031f496600f949640ff9c4 (diff)
downloademacs-f6f3366160e26ff5984f287e60616ec9f90acfa3.tar.gz
emacs-f6f3366160e26ff5984f287e60616ec9f90acfa3.tar.bz2
emacs-f6f3366160e26ff5984f287e60616ec9f90acfa3.zip
merge trunk
Diffstat (limited to 'lisp/vc/log-edit.el')
-rw-r--r--lisp/vc/log-edit.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index 80d77213abf..c0aa595d968 100644
--- a/lisp/vc/log-edit.el
+++ b/lisp/vc/log-edit.el
@@ -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.