Commit 355b422f authored by Vinicius Jose Latorre's avatar Vinicius Jose Latorre
Browse files

New function diff-show-trailing-blanks in diff-mode.el.

parent 1ada3dab
2008-07-24 Vinicius Jose Latorre <>
* NEWS: New function `diff-show-trailing-blanks' in diff-mode.el.
2008-07-24 Michael Albinus <>
* NEWS: Add xesam.el.
......@@ -516,6 +516,9 @@ which have installed this software.
* Changes in Specialized Modes and Packages in Emacs 23.1
** Diff mode
*** New function `diff-show-trailing-blanks'.
** Abbrev has been rewritten in Elisp and extended with more flexibility.
*** New functions: abbrev-get, abbrev-put, abbrev-table-get, abbrev-table-put,
abbrev-table-p, abbrev-insert, abbrev-table-menu.
2008-07-24 Vinicius Jose Latorre <>
* diff-mode.el (diff-show-trailing-blanks): New fun. Show trailing
blanks in modified lines for diff-mode.
2008-07-24 Michael Albinus <>
* (ELCFILES): Add net/xesam.el.
......@@ -1881,6 +1881,13 @@ 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."
(let ((whitespace-style '(trailing))
(whitespace-trailing-regexp "^[-\+!<>].*?\\([\t ]+\\)$"))
(whitespace-mode 1))) ; display trailing blanks in diff buffer
;; provide the package
(provide 'diff-mode)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment