Mercurial > emacs
changeset 101153:50974f6c57be
(diff-mode-menu): Do not assume whitespace-mode is loaded.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 13 Jan 2009 13:58:25 +0000 |
parents | fec1fa57c98a |
children | 7b7c30fbeecd |
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:13 2009 +0000 +++ b/lisp/diff-mode.el Tue Jan 13 13:58:25 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 whitespace-mode + :style toggle :selected (and (boundp 'whitespace-mode) whitespace-mode) :help "Show trailing whitespace in modified lines"] "-----" ["Split hunk" diff-split-hunk