pkg-descr

Diff-mode is a major-mode for viewing/editing context diffs in Emacs.
Supports unified and context diffs as well as (to a lesser extent)
normal diffs.

The diff-mode provides features such as:

- Unified diff <-> Context diff conversion.
- Reverse the direction of the diffs.
- Jump to the corresponding source line.
- Move to the next/previous hunk/file header.
- Restrict the view to the current hunk/file.


- Tetsurou
okazaki@FreeBSD.org

pkg-message

To use diff-mode, simply add to your .emacs the following lines:

(autoload 'diff-mode "diff-mode" "Diff major mode" t)
(add-to-list 'auto-mode-alist '("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode))

pkg-plist

share/emacs/site-lisp/diff-mode.el
@exec mkdir -p %D/lib/xemacs/site-lisp
@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/diff-mode.el
@unexec rm %D/lib/xemacs/site-lisp/diff-mode.el
@dirrm lib/xemacs/site-lisp
@dirrm lib/xemacs