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
5b8441bf
Commit
5b8441bf
authored
Jul 26, 2008
by
Vinicius Jose Latorre
Browse files
Rename diff-show-trailing-blanks to diff-show-trailing-whitespaces.
parent
dd12e1c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/diff-mode.el
lisp/diff-mode.el
+2
-2
No files found.
lisp/ChangeLog
View file @
5b8441bf
2008-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* diff-mode.el (diff-show-trailing-blanks): Renamed to
diff-show-trailing-whitespaces.
2008-07-25 Chong Yidong <cyd@stupidchicken.com>
2008-07-25 Chong Yidong <cyd@stupidchicken.com>
* textmodes/tex-mode.el (tex-compilation-parse-errors): Check for
* textmodes/tex-mode.el (tex-compilation-parse-errors): Check for
...
...
lisp/diff-mode.el
View file @
5b8441bf
...
@@ -1881,8 +1881,8 @@ I.e. like `add-change-log-entry-other-window' but applied to all hunks."
...
@@ -1881,8 +1881,8 @@ I.e. like `add-change-log-entry-other-window' but applied to all hunks."
;; When there's no more hunks, diff-hunk-next signals an error.
;; When there's no more hunks, diff-hunk-next signals an error.
(
error
nil
)))))
(
error
nil
)))))
(defun diff-show-trailing-
blank
s ()
(
defun
diff-show-trailing-
whitespace
s
()
"Show trailing
blank
s in modified lines for diff-mode."
"Show trailing
whitespace
s in modified lines for diff-mode."
(
interactive
)
(
interactive
)
(
let
((
whitespace-style
'
(
trailing
))
(
let
((
whitespace-style
'
(
trailing
))
(
whitespace-trailing-regexp
"^[-\+!<>].*?\\([\t ]+\\)$"
))
(
whitespace-trailing-regexp
"^[-\+!<>].*?\\([\t ]+\\)$"
))
...
...
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