diff options
author | Thien-Thi Nguyen <[email protected]> | 2003-11-14 16:23:37 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <[email protected]> | 2003-11-14 16:23:37 +0000 |
commit | 067b4094282acb581da5d8ab181aa6659dc7620d (patch) | |
tree | b7dfd0a65afeb78823466db3907b4ece88392bf0 /lisp | |
parent | 877f9b05139c360508414167e6dc660e662c88fc (diff) |
(diff-hunk-prev, diff-hunk-next): Support
operation while narrowed, with `diff-restrict-view'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/diff-mode.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index caefea001c..503922d871 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,10 @@ 2003-11-14 Thien-Thi Nguyen <[email protected]> + * diff-mode.el (diff-hunk-prev, diff-hunk-next): Support + operation while narrowed, with `diff-restrict-view'. + +2003-11-14 Thien-Thi Nguyen <[email protected]> + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Take additional optional arg NARROWFUN. For the generated functions: Add local var `was-narrowed-p'. Also, if NARROWFUN is specified, include diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 54a582256b..cad1f2c9c6 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -327,7 +327,7 @@ when editing big diffs)." ;; Define diff-{hunk,file}-{prev,next} (easy-mmode-define-navigation - diff-hunk diff-hunk-header-re "hunk" diff-end-of-hunk) + diff-hunk diff-hunk-header-re "hunk" diff-end-of-hunk diff-restrict-view) (easy-mmode-define-navigation diff-file diff-file-header-re "file" diff-end-of-hunk) |