Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git.el: Move point after the log message header when entering log-edit mode.
author
Alexandre Julliard
<julliard@winehq.org>
Fri, 3 Nov 2006 16:42:17 +0000
(17:42 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 4 Nov 2006 09:50:26 +0000
(
01:50
-0800)
Suggested by Han-Wen Nienhuys.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/git.el
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b8ee518
)
diff --git
a/contrib/emacs/git.el
b/contrib/emacs/git.el
index 08d6404bcbafced3c1a3ade06355865ae75a0f33..6f3b46df9f7466f123dd3b6157b21bed00c9887d 100644
(file)
--- a/
contrib/emacs/git.el
+++ b/
contrib/emacs/git.el
@@
-899,7
+899,8
@@
and returns the process output as a string."
(2 font-lock-function-name-face))
(,(concat "^\\(" (regexp-quote git-log-msg-separator) "\\)$")
(1 font-lock-comment-face)))))
- (log-edit #'git-do-commit nil #'git-log-edit-files buffer))))
+ (log-edit #'git-do-commit nil #'git-log-edit-files buffer)
+ (re-search-forward (regexp-quote (concat git-log-msg-separator "\n")) nil t))))
(defun git-find-file ()
"Visit the current file in its own buffer."