1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
emacs/lisp/vc
Dima Kogan e5ef59b87d diff-mode auto-refines only after a successful motion
Prior to this patch (if enabled) auto-refinement would kick in after all
hunk navigation commands, even if the motion failed.  This would result
in a situation where the hunk navigation would signal an error and beep,
but yet still accomplish potentially useful work, by auto-refining.
This patch moves the auto-refinement code to only run when a motion was
successful

* lisp/vc/diff-mode.el (diff--internal-hunk-next,
  diff--internal-hunk-prev): Removed auto-refinement-triggering code
* lisp/vc/diff-mode.el (diff--wrap-navigation): Added
  auto-refinement-triggering code
2016-12-24 21:42:02 -08:00
..
add-log.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
compare-w.el
cvs-status.el
diff-mode.el diff-mode auto-refines only after a successful motion 2016-12-24 21:42:02 -08:00
diff.el
ediff-diff.el Add file-local-name 2016-11-20 16:29:47 +01:00
ediff-help.el
ediff-hook.el
ediff-init.el ; Spelling fixes 2016-12-22 10:14:11 -08:00
ediff-merg.el
ediff-mult.el Clarify ediff-directories prompt 2016-11-23 18:05:35 -08:00
ediff-ptch.el ; Spelling fixes 2016-12-22 10:14:11 -08:00
ediff-util.el Merge from origin/emacs-25 2016-12-07 12:41:05 -08:00
ediff-vers.el
ediff-wind.el
ediff.el Clarify ediff-directories prompt 2016-11-23 18:05:35 -08:00
emerge.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
log-edit.el
log-view.el
pcvs-defs.el
pcvs-info.el
pcvs-parse.el
pcvs-util.el
pcvs.el Modernize usage of 'macOS' in doc and comments 2016-11-06 00:42:03 -07:00
smerge-mode.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
vc-annotate.el
vc-bzr.el Make "g" in vc push/pull buffers re-push/pull 2016-12-06 20:31:54 -05:00
vc-cvs.el Merge from origin/emacs-25 2016-10-23 02:48:50 -07:00
vc-dav.el
vc-dir.el
vc-dispatcher.el
vc-filewise.el
vc-git.el Make "g" in vc push/pull buffers re-push/pull 2016-12-06 20:31:54 -05:00
vc-hg.el Make "g" in vc push/pull buffers re-push/pull 2016-12-06 20:31:54 -05:00
vc-hooks.el Add make-nearby-temp-file' and temporary-file-directory' 2016-08-07 13:57:23 +02:00
vc-mtn.el
vc-rcs.el
vc-sccs.el
vc-src.el
vc-svn.el
vc.el Clarify documentation of 'vc-responsible-backend' wrt symlinks 2016-11-04 12:06:00 +02:00