diff options
| author | Miles Bader | 2005-05-20 04:22:05 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-05-20 04:22:05 +0000 |
| commit | 64e9342958694825be1664890dcd22fffcd50d3a (patch) | |
| tree | a43e1796f5a49ae7eeec671447d10ac3731a1834 /lisp/diff-mode.el | |
| parent | 5447510256e5a1b371407b751ddcc461044da5df (diff) | |
| parent | a18ff9886771c41186eebf8d7984fee2120dbe36 (diff) | |
| download | emacs-64e9342958694825be1664890dcd22fffcd50d3a.tar.gz emacs-64e9342958694825be1664890dcd22fffcd50d3a.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-53
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 302-319)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 69)
- Update from CVS
Diffstat (limited to 'lisp/diff-mode.el')
| -rw-r--r-- | lisp/diff-mode.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index d69685ac86f..c16738f6570 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el | |||
| @@ -70,7 +70,8 @@ | |||
| 70 | (defcustom diff-jump-to-old-file nil | 70 | (defcustom diff-jump-to-old-file nil |
| 71 | "*Non-nil means `diff-goto-source' jumps to the old file. | 71 | "*Non-nil means `diff-goto-source' jumps to the old file. |
| 72 | Else, it jumps to the new file." | 72 | Else, it jumps to the new file." |
| 73 | :type '(boolean)) | 73 | :type 'boolean |
| 74 | :group 'diff-mode) | ||
| 74 | 75 | ||
| 75 | (defcustom diff-update-on-the-fly t | 76 | (defcustom diff-update-on-the-fly t |
| 76 | "*Non-nil means hunk headers are kept up-to-date on-the-fly. | 77 | "*Non-nil means hunk headers are kept up-to-date on-the-fly. |
| @@ -79,17 +80,20 @@ need to be kept consistent with the actual diff. This can | |||
| 79 | either be done on the fly (but this sometimes interacts poorly with the | 80 | either be done on the fly (but this sometimes interacts poorly with the |
| 80 | undo mechanism) or whenever the file is written (can be slow | 81 | undo mechanism) or whenever the file is written (can be slow |
| 81 | when editing big diffs)." | 82 | when editing big diffs)." |
| 82 | :type '(boolean)) | 83 | :type 'boolean |
| 84 | :group 'diff-mode) | ||
| 83 | 85 | ||
| 84 | (defcustom diff-advance-after-apply-hunk t | 86 | (defcustom diff-advance-after-apply-hunk t |
| 85 | "*Non-nil means `diff-apply-hunk' will move to the next hunk after applying." | 87 | "*Non-nil means `diff-apply-hunk' will move to the next hunk after applying." |
| 86 | :type 'boolean) | 88 | :type 'boolean |
| 89 | :group 'diff-mode) | ||
| 87 | 90 | ||
| 88 | 91 | ||
| 89 | (defcustom diff-mode-hook nil | 92 | (defcustom diff-mode-hook nil |
| 90 | "Run after setting up the `diff-mode' major mode." | 93 | "Run after setting up the `diff-mode' major mode." |
| 91 | :type 'hook | 94 | :type 'hook |
| 92 | :options '(diff-delete-empty-files diff-make-unified)) | 95 | :options '(diff-delete-empty-files diff-make-unified) |
| 96 | :group 'diff-mode) | ||
| 93 | 97 | ||
| 94 | (defvar diff-outline-regexp | 98 | (defvar diff-outline-regexp |
| 95 | "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)") | 99 | "\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)") |
| @@ -159,7 +163,8 @@ when editing big diffs)." | |||
| 159 | 163 | ||
| 160 | (defcustom diff-minor-mode-prefix "\C-c=" | 164 | (defcustom diff-minor-mode-prefix "\C-c=" |
| 161 | "Prefix key for `diff-minor-mode' commands." | 165 | "Prefix key for `diff-minor-mode' commands." |
| 162 | :type '(choice (string "\e") (string "C-c=") string)) | 166 | :type '(choice (string "\e") (string "C-c=") string) |
| 167 | :group 'diff-mode) | ||
| 163 | 168 | ||
| 164 | (easy-mmode-defmap diff-minor-mode-map | 169 | (easy-mmode-defmap diff-minor-mode-map |
| 165 | `((,diff-minor-mode-prefix . ,diff-mode-shared-map)) | 170 | `((,diff-minor-mode-prefix . ,diff-mode-shared-map)) |