whitespace.el - revert hasty fix, fix highlight area for leading and trailing space.

This commit is contained in:
Rajesh Vaidheeswarran 2005-04-11 23:47:54 +00:00
parent 4d88e0ade8
commit df5e8d2c04
2 changed files with 11 additions and 4 deletions

View file

@ -7,6 +7,13 @@
* generic.el (generic-make-keywords-list): Fix docstring.
(generic-mode-internal): Simplify generic-font-lock-keywords.
2005-04-11 Rajesh Vaidheeswarran <rv@gnu.org>
* 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 <rv@gnu.org>
* whitespace.el (whitespace-version): Bump to 3.5

View file

@ -597,9 +597,9 @@ whitespace problems."
(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 @@ whitespace problems."
(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))))