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
dfbd373d
Commit
dfbd373d
authored
Aug 06, 2007
by
Stefan Monnier
Browse files
(diff-unified->context, diff-reverse-direction, diff-fixup-modifs):
Typo in docstring.
parent
bc04f6bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/diff-mode.el
lisp/diff-mode.el
+3
-3
No files found.
lisp/ChangeLog
View file @
dfbd373d
2007-08-06 Tom Tromey <tromey@redhat.com>
* diff-mode.el (diff-unified->context, diff-reverse-direction)
(diff-fixup-modifs): Typo in docstring.
2007-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
* emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
lisp/diff-mode.el
View file @
dfbd373d
...
...
@@ -685,7 +685,7 @@ PREFIX is only used internally: don't use it."
(
defun
diff-unified->context
(
start
end
)
"Convert unified diffs to context diffs.
START and END are either taken from the region (if a prefix arg is given) or
else cover the whole bufer."
else cover the whole buf
f
er."
(
interactive
(
if
(
or
current-prefix-arg
(
and
transient-mark-mode
mark-active
))
(
list
(
region-beginning
)
(
region-end
))
(
list
(
point-min
)
(
point-max
))))
...
...
@@ -847,7 +847,7 @@ With a prefix argument, convert unified format to context format."
(
defun
diff-reverse-direction
(
start
end
)
"Reverse the direction of the diffs.
START and END are either taken from the region (if a prefix arg is given) or
else cover the whole bufer."
else cover the whole buf
f
er."
(
interactive
(
if
(
or
current-prefix-arg
(
and
transient-mark-mode
mark-active
))
(
list
(
region-beginning
)
(
region-end
))
(
list
(
point-min
)
(
point-max
))))
...
...
@@ -909,7 +909,7 @@ else cover the whole bufer."
(
defun
diff-fixup-modifs
(
start
end
)
"Fixup the hunk headers (in case the buffer was modified).
START and END are either taken from the region (if a prefix arg is given) or
else cover the whole bufer."
else cover the whole buf
f
er."
(
interactive
(
if
(
or
current-prefix-arg
(
and
transient-mark-mode
mark-active
))
(
list
(
region-beginning
)
(
region-end
))
(
list
(
point-min
)
(
point-max
))))
...
...
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