# HG changeset patch # User Rajesh Vaidheeswarran # Date 1113261946 0 # Node ID 230af31ce8436db304c309dde49c0f9d498d065f # Parent f5e70b5f16cebdbc6ab39d113479c284417e75ee whitespace.el - fix higlighting test and bump rev diff -r f5e70b5f16ce -r 230af31ce843 lisp/ChangeLog --- a/lisp/ChangeLog Mon Apr 11 23:12:57 2005 +0000 +++ b/lisp/ChangeLog Mon Apr 11 23:25:46 2005 +0000 @@ -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 -r f5e70b5f16ce -r 230af31ce843 lisp/whitespace.el --- a/lisp/whitespace.el Mon Apr 11 23:12:57 2005 +0000 +++ b/lisp/whitespace.el Mon Apr 11 23:25:46 2005 +0000 @@ -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 @@ (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 @@ (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)