* 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
(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))))
(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))))