Commit df5e8d2c authored by Rajesh Vaidheeswarran's avatar Rajesh Vaidheeswarran
Browse files

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

parent 4d88e0ad
......@@ -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
......
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment