projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae9ae3
)
(diff-hunk-file-names): Don't require a TAB after the file name
author
Gustav HÃ¥llberg
<gustav@gmail.com>
Thu, 9 Apr 2015 01:47:50 +0000
(21:47 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 9 Apr 2015 01:47:50 +0000
(21:47 -0400)
Fixes: debbugs:20276
lisp/vc/diff-mode.el
patch
|
blob
|
history
diff --git
a/lisp/vc/diff-mode.el
b/lisp/vc/diff-mode.el
index a9614e95d6d93979e90cb9cd3f6582dd828982cc..948a45e6f5c84fa0d295c7c751affca761be488f 100644
(file)
--- a/
lisp/vc/diff-mode.el
+++ b/
lisp/vc/diff-mode.el
@@
-821,7
+821,7
@@
If the OLD prefix arg is passed, tell the file NAME of the old file."
(header-files
;; handle filenames with spaces;
;; cf. diff-font-lock-keywords / diff-file-header-face
- (if (looking-at "[-*][-*][-*] \\([^\t
]+\\)\t.*\n[-+][-+][-+] \\([^\t
]+\\)")
+ (if (looking-at "[-*][-*][-*] \\([^\t
\n]+\\).*\n[-+][-+][-+] \\([^\t\n
]+\\)")
(list (if old (match-string 1) (match-string 2))
(if old (match-string 2) (match-string 1)))
(forward-line 1) nil)))