diff options
| author | Rajesh Vaidheeswarran | 2005-04-11 23:25:46 +0000 |
|---|---|---|
| committer | Rajesh Vaidheeswarran | 2005-04-11 23:25:46 +0000 |
| commit | 7a15a27156987aee8993c629f5ebc67d26760f0b (patch) | |
| tree | b6e8ae53e145e44acc01488002f0502e0fd90669 | |
| parent | 9a89f5b0978251238e9eb6a77acd66423b18f354 (diff) | |
| download | emacs-7a15a27156987aee8993c629f5ebc67d26760f0b.tar.gz emacs-7a15a27156987aee8993c629f5ebc67d26760f0b.zip | |
whitespace.el - fix higlighting test and bump rev
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/whitespace.el | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e895e58d842..bf3e2292dd7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-04-11 Rajesh Vaidheeswarran <rv@gnu.org> | ||
| 2 | |||
| 3 | * whitespace.el (whitespace-version): Bump to 3.5 | ||
| 4 | |||
| 5 | (whitespace-buffer-leading, whitespace-buffer-trailing): Invert | ||
| 6 | sense of the test to highlight the whitespace. | ||
| 7 | |||
| 1 | 2005-04-12 Nick Roberts <nickrob@snap.net.nz> | 8 | 2005-04-12 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 9 | ||
| 3 | * progmodes/gud.el (gud-display-line): GUD uses its own | 10 | * progmodes/gud.el (gud-display-line): GUD uses its own |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 1ac518091b8..b052a3e3460 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -86,7 +86,7 @@ | |||
| 86 | 86 | ||
| 87 | ;;; Code: | 87 | ;;; Code: |
| 88 | 88 | ||
| 89 | (defvar whitespace-version "3.4" "Version of the whitespace library.") | 89 | (defvar whitespace-version "3.5" "Version of the whitespace library.") |
| 90 | 90 | ||
| 91 | (defvar whitespace-all-buffer-files nil | 91 | (defvar whitespace-all-buffer-files nil |
| 92 | "An associated list of buffers and files checked for whitespace cleanliness. | 92 | "An associated list of buffers and files checked for whitespace cleanliness. |
| @@ -597,7 +597,7 @@ whitespace problems." | |||
| 597 | (setq pmin (point)) | 597 | (setq pmin (point)) |
| 598 | (end-of-line) | 598 | (end-of-line) |
| 599 | (setq pmax (point)) | 599 | (setq pmax (point)) |
| 600 | (if (equal pmin pmax) | 600 | (if (not (equal pmin pmax)) |
| 601 | (progn | 601 | (progn |
| 602 | (whitespace-highlight-the-space pmin pmax) | 602 | (whitespace-highlight-the-space pmin pmax) |
| 603 | t) | 603 | t) |
| @@ -635,7 +635,7 @@ whitespace problems." | |||
| 635 | (setq pmin (point)) | 635 | (setq pmin (point)) |
| 636 | (end-of-line) | 636 | (end-of-line) |
| 637 | (setq pmax (point)) | 637 | (setq pmax (point)) |
| 638 | (if (equal pmin pmax) | 638 | (if (not (equal pmin pmax)) |
| 639 | (progn | 639 | (progn |
| 640 | (whitespace-highlight-the-space pmin pmax) | 640 | (whitespace-highlight-the-space pmin pmax) |
| 641 | t) | 641 | t) |