Commit 02e3336d authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(diff-add-change-log-entries-other-window): Avoid the

splitter in context hunks.
parent 1abe3a1e
2008-02-08 Stefan Monnier <>
* diff-mode.el (diff-add-change-log-entries-other-window): Avoid the
splitter in context hunks.
2008-02-08 Kenichi Handa <>
* international/fontset.el (setup-default-fontset): Fix arabic otf
......@@ -1750,7 +1750,14 @@ I.e. like `add-change-log-entry-other-window' but applied to all hunks."
;; Move to where the changes are,
;; `add-change-log-entry-other-window' works better in
;; that case.
(re-search-forward "\n[!+-<>]" nil t))
(concat "\n[!+-<>]"
;; If the hunk is a context hunk with an empty first
;; half, recognize the "--- NNN,MMM ----" line
"\\(-- [0-9]+\\(,[0-9]+\\)? ----\n"
;; and skip to the next non-context line.
"\\( .*\n\\)*[+]\\)?")
nil t))
;; Insert a "." so that the entries created don't get
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment