# HG changeset patch # User Rajesh Vaidheeswarran # Date 1055304033 0 # Node ID 38c9480b767aa627dd392c2d277ae4e6d6cff811 # Parent ad8c09d9513cfe5f5be2bd0ad9d1bea52b638156 Respect user preference diff -r ad8c09d9513c -r 38c9480b767a lisp/ChangeLog --- a/lisp/ChangeLog Wed Jun 11 03:50:45 2003 +0000 +++ b/lisp/ChangeLog Wed Jun 11 04:00:33 2003 +0000 @@ -1,6 +1,8 @@ 2003-06-10 Rajesh Vaidheeswarran * whitespace.el (whitespace-version): bump to 3.3 + (whitespace-cleanup): Respect user preference for silence + * whitespace.el: Remove :tag in commentary :link. Remove empty lines in comment, since commentary seems to have a problem with that. diff -r ad8c09d9513c -r 38c9480b767a lisp/whitespace.el --- a/lisp/whitespace.el Wed Jun 11 03:50:45 2003 +0000 +++ b/lisp/whitespace.el Wed Jun 11 04:00:33 2003 +0000 @@ -5,7 +5,7 @@ ;; Author: Rajesh Vaidheeswarran ;; 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 @@ (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))))