aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav HÃ¥llberg2015-04-08 21:47:50 -0400
committerStefan Monnier2015-04-08 21:47:50 -0400
commit3d78c5578c435c7eb231ff2212aaf85a1b3ed0e5 (patch)
treecca3a64d8fc7e063842bc953185f39a781a10400
parent0ae9ae36f0fbac47fb35efbd45d8cdda302f2e36 (diff)
downloademacs-3d78c5578c435c7eb231ff2212aaf85a1b3ed0e5.tar.gz
emacs-3d78c5578c435c7eb231ff2212aaf85a1b3ed0e5.zip
(diff-hunk-file-names): Don't require a TAB after the file name
Fixes: debbugs:20276
-rw-r--r--lisp/vc/diff-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index a9614e95d6d..948a45e6f5c 100644
--- 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."
821 (header-files 821 (header-files
822 ;; handle filenames with spaces; 822 ;; handle filenames with spaces;
823 ;; cf. diff-font-lock-keywords / diff-file-header-face 823 ;; cf. diff-font-lock-keywords / diff-file-header-face
824 (if (looking-at "[-*][-*][-*] \\([^\t]+\\)\t.*\n[-+][-+][-+] \\([^\t]+\\)") 824 (if (looking-at "[-*][-*][-*] \\([^\t\n]+\\).*\n[-+][-+][-+] \\([^\t\n]+\\)")
825 (list (if old (match-string 1) (match-string 2)) 825 (list (if old (match-string 1) (match-string 2))
826 (if old (match-string 2) (match-string 1))) 826 (if old (match-string 2) (match-string 1)))
827 (forward-line 1) nil))) 827 (forward-line 1) nil)))