diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-10-09 04:22:11 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-10-09 04:22:11 +0000 |
commit | 011f48f234ed4b9149531d94bd79b0a59bd5a931 (patch) | |
tree | 51ba2f93fcdd071461cb4f0e2c99404e8955a851 /lisp/diff-mode.el | |
parent | be36f934da2f42f5fb57cd1a3202a4d402e3e107 (diff) | |
download | emacs-011f48f234ed4b9149531d94bd79b0a59bd5a931.tar.gz emacs-011f48f234ed4b9149531d94bd79b0a59bd5a931.tar.bz2 emacs-011f48f234ed4b9149531d94bd79b0a59bd5a931.zip |
(diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
Diffstat (limited to 'lisp/diff-mode.el')
-rw-r--r-- | lisp/diff-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 706a532938d..f39256c2281 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -48,8 +48,6 @@ ;; Or maybe just make it into a ".rej to diff3-markers converter". ;; Maybe just use `wiggle' (by Neil Brown) to do it for us. ;; -;; - Refine hunk on a word-by-word basis. -;; ;; - in diff-apply-hunk, strip context in replace-match to better ;; preserve markers and spacing. ;; - Handle `diff -b' output in context->unified. @@ -156,6 +154,7 @@ when editing big diffs)." ;; `d' because it duplicates the context :-( --Stef ("\C-c\C-d" . diff-unified->context) ("\C-c\C-w" . diff-refine-ignore-spaces-hunk) + ("\C-c\C-b" . diff-fine-highlight) ;No reason for `b' :-( ("\C-c\C-f" . next-error-follow-minor-mode)) "Keymap for `diff-mode'. See also `diff-mode-shared-map'.") @@ -173,7 +172,8 @@ when editing big diffs)." ;;["Fixup Headers" diff-fixup-modifs (not buffer-read-only)] "-----" ["Split hunk" diff-split-hunk (diff-splittable-p)] - ["Refine hunk" diff-refine-ignore-spaces-hunk t] + ["Ignore whitespace changes" diff-refine-ignore-spaces-hunk t] + ["Highlight fine changes" diff-fine-highlight t] ["Kill current hunk" diff-hunk-kill t] ["Kill current file's hunks" diff-file-kill t] "-----" |