Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2365ab4a
Commit
2365ab4a
authored
Feb 08, 2007
by
Stefan Monnier
Browse files
(diff-sanity-check-hunk): Fix last fix.
parent
7d506bfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/diff-mode.el
lisp/diff-mode.el
+1
-1
No files found.
lisp/ChangeLog
View file @
2365ab4a
2007-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-sanity-check-hunk): Fix last fix.
2007-02-08 Karl Fogel <kfogel@red-bean.com>
* simple.el (fundamental-mode-hook): Declare new hook.
lisp/diff-mode.el
View file @
2365ab4a
...
...
@@ -1115,7 +1115,7 @@ Only works for unified diffs."
;; A context diff.
((
eq
(
char-after
)
?*
)
(
if
(
not
(
looking-at
"\\*\\{15\\}\n\\*\\*\\* \\([0-9]+\\),\\([0-9]+\\) \\*\\*\\*\\*"
))
(
if
(
not
(
looking-at
"\\*\\{15\\}\
\(?: .*\\)?\
n\\*\\*\\* \\([0-9]+\\),\\([0-9]+\\) \\*\\*\\*\\*"
))
(
error
"Unrecognized context diff first hunk header format"
)
(
forward-line
2
)
(
diff-sanity-check-context-hunk-half
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment