aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2008-07-26 00:28:45 +0000
committerVinicius Jose Latorre2008-07-26 00:28:45 +0000
commit5b8441bf478c7da65d2161c6a55c357c35969ec5 (patch)
tree5cda2163d2989f30365dfb28165933caea51be8d
parentdd12e1c6911d69e0920b6ddcb83147f025a98f88 (diff)
downloademacs-5b8441bf478c7da65d2161c6a55c357c35969ec5.tar.gz
emacs-5b8441bf478c7da65d2161c6a55c357c35969ec5.zip
Rename diff-show-trailing-blanks to diff-show-trailing-whitespaces.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/diff-mode.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b99b00328cb..ce3a81033b3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2
3 * diff-mode.el (diff-show-trailing-blanks): Renamed to
4 diff-show-trailing-whitespaces.
5
12008-07-25 Chong Yidong <cyd@stupidchicken.com> 62008-07-25 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * textmodes/tex-mode.el (tex-compilation-parse-errors): Check for 8 * textmodes/tex-mode.el (tex-compilation-parse-errors): Check for
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index 859f69540f9..d61f7689ae5 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -1881,8 +1881,8 @@ I.e. like `add-change-log-entry-other-window' but applied to all hunks."
1881 ;; When there's no more hunks, diff-hunk-next signals an error. 1881 ;; When there's no more hunks, diff-hunk-next signals an error.
1882 (error nil))))) 1882 (error nil)))))
1883 1883
1884(defun diff-show-trailing-blanks () 1884(defun diff-show-trailing-whitespaces ()
1885 "Show trailing blanks in modified lines for diff-mode." 1885 "Show trailing whitespaces in modified lines for diff-mode."
1886 (interactive) 1886 (interactive)
1887 (let ((whitespace-style '(trailing)) 1887 (let ((whitespace-style '(trailing))
1888 (whitespace-trailing-regexp "^[-\+!<>].*?\\([\t ]+\\)$")) 1888 (whitespace-trailing-regexp "^[-\+!<>].*?\\([\t ]+\\)$"))