summaryrefslogtreecommitdiff
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
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."
;; When there's no more hunks, diff-hunk-next signals an error.
(error nil)))))
-(defun diff-show-trailing-blanks ()
- "Show trailing blanks in modified lines for diff-mode."
+(defun diff-show-trailing-whitespaces ()
+ "Show trailing whitespaces in modified lines for diff-mode."
(interactive)
(let ((whitespace-style '(trailing))
(whitespace-trailing-regexp "^[-\+!<>].*?\\([\t ]+\\)$"))