changeset 101154:7b7c30fbeecd

Fix last change to use bound-and-true-p.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 13 Jan 2009 14:55:57 +0000
parents 50974f6c57be
children 9e5f8e946d21
files lisp/diff-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff-mode.el	Tue Jan 13 13:58:25 2009 +0000
+++ b/lisp/diff-mode.el	Tue Jan 13 14:55:57 2009 +0000
@@ -184,7 +184,7 @@
      :help "Convert unified diffs to context diffs"]
     ;;["Fixup Headers"		diff-fixup-modifs	(not buffer-read-only)]
     ["Show trailing whitespace" whitespace-mode
-     :style toggle :selected (and (boundp 'whitespace-mode) whitespace-mode)
+     :style toggle :selected (bound-and-true-p whitespace-mode)
      :help "Show trailing whitespace in modified lines"]
     "-----"
     ["Split hunk"		diff-split-hunk