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
0780c517
Commit
0780c517
authored
Sep 10, 2012
by
Dan Nicolaescu
Browse files
* vc/diff-mode.el (diff-mode-menu): diff-remove-trailing-whitespace.
parent
cdff2ce7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc/diff-mode.el
lisp/vc/diff-mode.el
+2
-0
No files found.
lisp/ChangeLog
View file @
0780c517
2012-09-10 Dan Nicolaescu <dann@gnu.org>
* vc/diff-mode.el (diff-mode-menu): Bind
diff-remove-trailing-whitespace.
2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
...
...
lisp/vc/diff-mode.el
View file @
0780c517
...
...
@@ -178,6 +178,8 @@ when editing big diffs)."
[
"Unified -> Context"
diff-unified->context
:help
"Convert unified diffs to context diffs"
]
;;["Fixup Headers" diff-fixup-modifs (not buffer-read-only)]
[
"Remove trailing whitespace"
diff-remove-trailing-whitespace
:help
"Remove trailing whitespace problems introduced by the diff"
]
[
"Show trailing whitespace"
whitespace-mode
:style
toggle
:selected
(
bound-and-true-p
whitespace-mode
)
:help
"Show trailing whitespace in modified lines"
]
...
...
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