1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Stefan Monnier
c0078a045c (diff-font-lock-keywords, diff-hunk-header-re)
(diff-goto-source, diff-unified->context, diff-context->unified)
(diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
understand the format output by the `-p' argument to diff.
2000-06-05 07:30:09 +00:00
Stefan Monnier
0e104800ef (diff-font-lock-keywords): Recognize comments.
(diff-font-lock-defaults): Explicitly turn off multiline.
(diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
(diff-ediff-patch): Fix call to ediff-patch-file.
(diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
Handle comments.
2000-05-10 22:12:46 +00:00
Stefan Monnier
d87e562753 (diff-mode-*-map): use `easy-mmode-defmap'.
(diff-end-of-hunk): Return the end position for use in
`easy-mmode-define-navigation'.
(diff-recenter): Remove.
(diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
of `easy-mmode-define-navigation'.
(diff-kill-*): Rename `diff-*-kill' (for consistency with the
previous renaming) and fix to use new names.
(diff-merge-strings): Use \n as separator: simpler, faster.
(diff-mode): Use `define-derived-mode'.
2000-03-21 16:59:17 +00:00
Stefan Monnier
fef8c55b16 (diff-kill-junk): New interactive function.
(diff-reverse-direction): Use delete-and-extract-region.
(diff-post-command-hook): Restrict the area so that the hook also works
outside of any diff hunk.  This is necessary for the minor-mode.
(diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
(diff-minor-mode): Setup the hooks for header-hunk rewriting.
2000-02-07 02:01:07 +00:00
Stefan Monnier
0b82e382e3 * diff-mode.el (diff-mode-shared-map): fset'd and doc change.
(diff-minor-mode, diff-minor-mode-prefix, diff-minor-mode-map):
New code to support the minor mode version.
(diff-recenter): New function.
(diff-next-hunk, diff-next-file): Use it.
(diff-remembered-files-alist): New var.
(diff-merge-strings): New function.
(diff-find-file-name): Make it smarter and use the user's input more.
(diff-mode): Cosmetic changes.
1999-12-07 07:04:03 +00:00
Stefan Monnier
83b7b03b12 (diff-find-file-name): use `Index:' preferentially. 1999-10-13 22:26:45 +00:00
Stefan Monnier
9c610b03c4 (vc-backend-diff): get rid of the autoloaded advice. 1999-10-11 09:53:03 +00:00
Stefan Monnier
610a641856 Initial revision, known outside of Emacs as version 1.8. 1999-10-09 23:52:39 +00:00