aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff-mode.el
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 /lisp/diff-mode.el
parentdd12e1c6911d69e0920b6ddcb83147f025a98f88 (diff)
downloademacs-5b8441bf478c7da65d2161c6a55c357c35969ec5.tar.gz
emacs-5b8441bf478c7da65d2161c6a55c357c35969ec5.zip
Rename diff-show-trailing-blanks to diff-show-trailing-whitespaces.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r--lisp/diff-mode.el4
1 files changed, 2 insertions, 2 deletions
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 ]+\\)$"))