From 7a15a27156987aee8993c629f5ebc67d26760f0b Mon Sep 17 00:00:00 2001 From: Rajesh Vaidheeswarran Date: Mon, 11 Apr 2005 23:25:46 +0000 Subject: [PATCH] whitespace.el - fix higlighting test and bump rev --- lisp/ChangeLog | 7 +++++++ 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 + + * 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) -- 2.39.2