summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7da5c4)
raw | patch | inline | side by side (parent: a7da5c4)
author | Alexandre Julliard <julliard@winehq.org> | |
Tue, 27 Jan 2009 10:59:54 +0000 (11:59 +0100) | ||
committer | Alexandre Julliard <julliard@winehq.org> | |
Sat, 7 Feb 2009 12:48:54 +0000 (13:48 +0100) |
This allows using fill-paragraph on the log message without
interference from the various header fields.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
interference from the various header fields.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
contrib/emacs/git.el | patch | blob | history |
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index 415765ec511c4fb0971eec5278fc897586a2747c..f86c437518938c9ed546ebed25901b97b5596b10 100644 (file)
--- a/contrib/emacs/git.el
+++ b/contrib/emacs/git.el
(log-edit-diff-function . git-log-edit-diff)) buffer)
(log-edit 'git-do-commit nil 'git-log-edit-files buffer))
(setq font-lock-keywords (font-lock-compile-keywords git-log-edit-font-lock-keywords))
+ (setq paragraph-separate (concat (regexp-quote git-log-msg-separator) "$\\|Author: \\|Date: \\|Merge: \\|Signed-off-by: \\|\f\\|[ ]*$"))
(setq buffer-file-coding-system coding-system)
(re-search-forward (regexp-quote (concat git-log-msg-separator "\n")) nil t))))