From: Chong Yidong Date: Tue, 13 Jan 2009 14:55:57 +0000 (+0000) Subject: Fix last change to use bound-and-true-p. X-Git-Tag: emacs-pretest-23.0.90~482 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c6de5a52332ddf94e0ca7a4a679433c4dc678fe;p=emacs.git Fix last change to use bound-and-true-p. --- diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 28ad437f15d..a83200d8982 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -184,7 +184,7 @@ when editing big diffs)." :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