提交 2ac2b196 编写于 作者: A Alexandre Julliard 提交者: Junio C Hamano

git.el: Move point after the log message header when entering log-edit mode.

Suggested by Han-Wen Nienhuys.
Signed-off-by: NAlexandre Julliard <julliard@winehq.org>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 b8ee5181
......@@ -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."
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册