diff options
author | Rajesh Vaidheeswarran <rv@gnu.org> | 2005-04-11 23:25:46 +0000 |
---|---|---|
committer | Rajesh Vaidheeswarran <rv@gnu.org> | 2005-04-11 23:25:46 +0000 |
commit | 7a15a27156987aee8993c629f5ebc67d26760f0b (patch) | |
tree | b6e8ae53e145e44acc01488002f0502e0fd90669 | |
parent | 9a89f5b0978251238e9eb6a77acd66423b18f354 (diff) | |
download | emacs-7a15a27156987aee8993c629f5ebc67d26760f0b.tar.gz |
whitespace.el - fix higlighting test and bump rev
-rw-r--r-- | lisp/ChangeLog | 7 | ||||
-rw-r--r-- | lisp/whitespace.el | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e895e58d842..bf3e2292dd7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2005-04-11 Rajesh Vaidheeswarran <rv@gnu.org> + + * whitespace.el (whitespace-version): Bump to 3.5 + + (whitespace-buffer-leading, whitespace-buffer-trailing): Invert + sense of the test to highlight the whitespace. + 2005-04-12 Nick Roberts <nickrob@snap.net.nz> * progmodes/gud.el (gud-display-line): GUD uses its own diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 1ac518091b8..b052a3e3460 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -86,7 +86,7 @@ ;;; Code: -(defvar whitespace-version "3.4" "Version of the whitespace library.") +(defvar whitespace-version "3.5" "Version of the whitespace library.") (defvar whitespace-all-buffer-files nil "An associated list of buffers and files checked for whitespace cleanliness. @@ -597,7 +597,7 @@ whitespace problems." (setq pmin (point)) (end-of-line) (setq pmax (point)) - (if (equal pmin pmax) + (if (not (equal pmin pmax)) (progn (whitespace-highlight-the-space pmin pmax) t) @@ -635,7 +635,7 @@ whitespace problems." (setq pmin (point)) (end-of-line) (setq pmax (point)) - (if (equal pmin pmax) + (if (not (equal pmin pmax)) (progn (whitespace-highlight-the-space pmin pmax) t) |