summaryrefslogtreecommitdiff
path: root/lisp/diff-mode.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-01-13 14:55:57 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-01-13 14:55:57 +0000
commit4c6de5a52332ddf94e0ca7a4a679433c4dc678fe (patch)
tree332c93229e4390b9b80ff9fd8fd92725cf40b4a1 /lisp/diff-mode.el
parent28c6679241cc56d133d233a72a9ac0608e7771af (diff)
downloademacs-4c6de5a52332ddf94e0ca7a4a679433c4dc678fe.tar.gz
Fix last change to use bound-and-true-p.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r--lisp/diff-mode.el2
1 files changed, 1 insertions, 1 deletions
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