]> code.delx.au - gnu-emacs/blobdiff - lisp/diff-mode.el
(doc-view-scroll-up-or-next-page)
[gnu-emacs] / lisp / diff-mode.el
index 28ad437f15d220d17786ebdcbd2e9cdfc181ce0f..a83200d8982835a0e27194c51a7d889bd6bf0abc 100644 (file)
@@ -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