# HG changeset patch # User Rajesh Vaidheeswarran # Date 1113263274 0 # Node ID 875507693e78d94985e83dca9fdce1d530800b29 # Parent bdefd94091faf8b40d96b2d76d1785c0969cacb9 whitespace.el - revert hasty fix, fix highlight area for leading and trailing space. diff -r bdefd94091fa -r 875507693e78 lisp/ChangeLog --- a/lisp/ChangeLog Mon Apr 11 23:41:12 2005 +0000 +++ b/lisp/ChangeLog Mon Apr 11 23:47:54 2005 +0000 @@ -9,6 +9,13 @@ 2005-04-11 Rajesh Vaidheeswarran + * whitespace.el (whitespace-buffer-leading, + whitespace-buffer-trailing): Revert the incorrect test + inversion. However, fix the highlight area for the leading and + trailing whitespaces to show space. + +2005-04-11 Rajesh Vaidheeswarran + * whitespace.el (whitespace-version): Bump to 3.5 (whitespace-buffer-leading, whitespace-buffer-trailing): Invert diff -r bdefd94091fa -r 875507693e78 lisp/whitespace.el --- a/lisp/whitespace.el Mon Apr 11 23:41:12 2005 +0000 +++ b/lisp/whitespace.el Mon Apr 11 23:47:54 2005 +0000 @@ -597,9 +597,9 @@ (setq pmin (point)) (end-of-line) (setq pmax (point)) - (if (not (equal pmin pmax)) + (if (equal pmin pmax) (progn - (whitespace-highlight-the-space pmin pmax) + (whitespace-highlight-the-space pmin (1+ pmax)) t) nil)))) @@ -635,9 +635,9 @@ (setq pmin (point)) (end-of-line) (setq pmax (point)) - (if (not (equal pmin pmax)) + (if (equal pmin pmax) (progn - (whitespace-highlight-the-space pmin pmax) + (whitespace-highlight-the-space (- pmin 1) pmax) t) nil)) nil))))