# HG changeset patch # User Chong Yidong # Date 1231858557 0 # Node ID 7b7c30fbeecda156d842cb6e30a5b0c36bf6231f # Parent 50974f6c57befb093c4a9af94372dfb147a6361e Fix last change to use bound-and-true-p. diff -r 50974f6c57be -r 7b7c30fbeecd lisp/diff-mode.el --- 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