summaryrefslogtreecommitdiff
path: root/lisp/whitespace.el
diff options
context:
space:
mode:
authorRajesh Vaidheeswarran <rv@gnu.org>2003-06-11 04:00:33 +0000
committerRajesh Vaidheeswarran <rv@gnu.org>2003-06-11 04:00:33 +0000
commit72f295ec18bc831ee879e4f140f552d16a8eada8 (patch)
treeeb58fd5c15639e43be736f44f07ea4b033328556 /lisp/whitespace.el
parent37a23b5dfd37ab2cc3a508b5fe0ad9c45386e0d0 (diff)
downloademacs-72f295ec18bc831ee879e4f140f552d16a8eada8.tar.gz
Respect user preference
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r--lisp/whitespace.el5
1 files changed, 3 insertions, 2 deletions
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 @@
;; Author: Rajesh Vaidheeswarran <rv@gnu.org>
;; Keywords: convenience
-;; $Id: whitespace.el,v 1.23 2003/05/13 14:30:58 rv Exp $
+;; $Id: whitespace.el,v 1.24 2003/06/11 03:50:45 rv Exp $
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -570,7 +570,8 @@ whitespace problems."
(if whitespace-any
(whitespace-cleanup)
(progn
- (message "%s clean" buffer-file-name)
+ (if (not whitespace-silent)
+ (message "%s clean" buffer-file-name))
(whitespace-update-modeline)))
(setq tab-width whitespace-tabwith-saved))))