diff options
| author | Rajesh Vaidheeswarran | 2003-06-11 04:00:33 +0000 |
|---|---|---|
| committer | Rajesh Vaidheeswarran | 2003-06-11 04:00:33 +0000 |
| commit | 72f295ec18bc831ee879e4f140f552d16a8eada8 (patch) | |
| tree | eb58fd5c15639e43be736f44f07ea4b033328556 | |
| parent | 37a23b5dfd37ab2cc3a508b5fe0ad9c45386e0d0 (diff) | |
| download | emacs-72f295ec18bc831ee879e4f140f552d16a8eada8.tar.gz emacs-72f295ec18bc831ee879e4f140f552d16a8eada8.zip | |
Respect user preference
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/whitespace.el | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 867eb82045d..42770d32987 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | 2003-06-10 Rajesh Vaidheeswarran <rv@gnu.org> | 1 | 2003-06-10 Rajesh Vaidheeswarran <rv@gnu.org> |
| 2 | 2 | ||
| 3 | * whitespace.el (whitespace-version): bump to 3.3 | 3 | * whitespace.el (whitespace-version): bump to 3.3 |
| 4 | (whitespace-cleanup): Respect user preference for silence | ||
| 5 | |||
| 4 | * whitespace.el: Remove :tag in commentary :link. Remove empty | 6 | * whitespace.el: Remove :tag in commentary :link. Remove empty |
| 5 | lines in comment, since commentary seems to have a problem with that. | 7 | lines in comment, since commentary seems to have a problem with that. |
| 6 | 8 | ||
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 7750c194f9a..a833e85fa3f 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Rajesh Vaidheeswarran <rv@gnu.org> | 5 | ;; Author: Rajesh Vaidheeswarran <rv@gnu.org> |
| 6 | ;; Keywords: convenience | 6 | ;; Keywords: convenience |
| 7 | 7 | ||
| 8 | ;; $Id: whitespace.el,v 1.23 2003/05/13 14:30:58 rv Exp $ | 8 | ;; $Id: whitespace.el,v 1.24 2003/06/11 03:50:45 rv Exp $ |
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 10 | 10 | ||
| 11 | ;; GNU Emacs is free software; you can redistribute it and/or modify | 11 | ;; GNU Emacs is free software; you can redistribute it and/or modify |
| @@ -570,7 +570,8 @@ whitespace problems." | |||
| 570 | (if whitespace-any | 570 | (if whitespace-any |
| 571 | (whitespace-cleanup) | 571 | (whitespace-cleanup) |
| 572 | (progn | 572 | (progn |
| 573 | (message "%s clean" buffer-file-name) | 573 | (if (not whitespace-silent) |
| 574 | (message "%s clean" buffer-file-name)) | ||
| 574 | (whitespace-update-modeline))) | 575 | (whitespace-update-modeline))) |
| 575 | (setq tab-width whitespace-tabwith-saved)))) | 576 | (setq tab-width whitespace-tabwith-saved)))) |
| 576 | 577 | ||