(diff-hunk-file-names): Don't require a TAB after the file name
Fixes: debbugs:20276
This commit is contained in:
parent
0ae9ae36f0
commit
3d78c5578c
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue