Mercurial > emacs
comparison lisp/diff-mode.el @ 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 | ccbca2862f79 |
children | 7b7c30fbeecd |
comparison
equal
deleted
inserted
replaced
101152:fec1fa57c98a | 101153:50974f6c57be |
---|---|
182 :help "Convert context diffs to unified diffs"] | 182 :help "Convert context diffs to unified diffs"] |
183 ["Unified -> Context" diff-unified->context | 183 ["Unified -> Context" diff-unified->context |
184 :help "Convert unified diffs to context diffs"] | 184 :help "Convert unified diffs to context diffs"] |
185 ;;["Fixup Headers" diff-fixup-modifs (not buffer-read-only)] | 185 ;;["Fixup Headers" diff-fixup-modifs (not buffer-read-only)] |
186 ["Show trailing whitespace" whitespace-mode | 186 ["Show trailing whitespace" whitespace-mode |
187 :style toggle :selected whitespace-mode | 187 :style toggle :selected (and (boundp 'whitespace-mode) whitespace-mode) |
188 :help "Show trailing whitespace in modified lines"] | 188 :help "Show trailing whitespace in modified lines"] |
189 "-----" | 189 "-----" |
190 ["Split hunk" diff-split-hunk | 190 ["Split hunk" diff-split-hunk |
191 :active (diff-splittable-p) | 191 :active (diff-splittable-p) |
192 :help "Split the current (unified diff) hunk at point into two hunks"] | 192 :help "Split the current (unified diff) hunk at point into two hunks"] |