Commit 28c66792 authored by Chong Yidong's avatar Chong Yidong
Browse files

(diff-mode-menu): Do not assume whitespace-mode is loaded.

parent 8fba7957
......@@ -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 whitespace-mode
:style toggle :selected (and (boundp 'whitespace-mode) whitespace-mode)
:help "Show trailing whitespace in modified lines"]
"-----"
["Split hunk" diff-split-hunk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment