From: Rajesh Vaidheeswarran Date: Mon, 11 Apr 2005 23:25:46 +0000 (+0000) Subject: whitespace.el - fix higlighting test and bump rev X-Git-Tag: ttn-vms-21-2-B4~1051 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7a15a27156987aee8993c629f5ebc67d26760f0b;p=emacs.git whitespace.el - fix higlighting test and bump rev --- 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 + + * 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 * 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)