1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00
emacs/lisp/vc
Juri Linkov 0c9e3df3c2 Use next-error-found to set next-error-last-buffer.
https://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00207.html

* lisp/simple.el (next-error-buffer): New buffer-local variable
instead of making buffer-local next-error-last-buffer.  (Bug#20489)
(next-error-found-function): New defcustom.
(next-error-buffer-on-selected-frame): Use t for avoid-current arg
of next-error-buffer-p.
(next-error-find-buffer): Add second rule for using the current
next-error-buffer if it's not visited by other navigation.
(next-error, next-error-internal): Call next-error-found.
(next-error-found): New function with body extracted mostly from
next-error.

* lisp/vc/add-log.el (change-log-goto-source-internal): New function
with body from change-log-goto-source.
(change-log-goto-source): Call change-log-goto-source-internal and
next-error-found.
(change-log-next-error): Call change-log-goto-source-internal
instead of change-log-goto-source.
(change-log-mode): Don't set next-error-last-buffer.  (Bug#28864)

* lisp/vc/diff-mode.el (diff-goto-source): Call next-error-found.

* lisp/progmodes/xref.el (xref-goto-xref): Call next-error-found.

* lisp/replace.el (occur-mode-goto-occurrence)
(occur-mode-goto-occurrence-other-window)
(occur-mode-display-occurrence): Call next-error-found.
(occur-next-error): Remove unnecessary with-current-buffer.
(Bug#27362, bug#30646)
2018-04-17 22:27:48 +03:00
..
add-log.el Use next-error-found to set next-error-last-buffer. 2018-04-17 22:27:48 +03:00
compare-w.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cvs-status.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
diff-mode.el Use next-error-found to set next-error-last-buffer. 2018-04-17 22:27:48 +03:00
diff.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-diff.el ; Use GNU not Gnu in docs 2018-03-23 16:01:12 -04:00
ediff-help.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-hook.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-init.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-merg.el Replace uses of the obsolete local-write-file-hooks 2018-03-08 20:03:13 -05:00
ediff-mult.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-ptch.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-util.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
ediff-vers.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ediff-wind.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
ediff.el Remove some declare-function stub definitions 2018-03-23 16:28:24 -04:00
emerge.el * lisp/vc/emerge.el: Use lexical-binding 2018-04-03 23:17:30 -04:00
log-edit.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
log-view.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pcvs-defs.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pcvs-info.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
pcvs-parse.el Explicitly require cl-lib where needed 2018-03-16 20:41:17 -04:00
pcvs-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
pcvs.el Prefer \... to control chars in .el literals 2018-03-29 17:43:08 -07:00
smerge-mode.el Remove some more face aliases obsolete since 22.1 2018-01-10 15:47:33 -05:00
vc-annotate.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-bzr.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-cvs.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-dav.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-dir.el Merge from origin/emacs-26 2018-03-13 18:13:26 -07:00
vc-dispatcher.el * lisp/vc/vc-dispatcher.el (vc-do-command): Bind message-truncate-lines to t 2018-02-21 22:37:33 +02:00
vc-filewise.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-git.el Add new command vc-git-stash-delete 2018-03-22 20:33:45 +01:00
vc-hg.el Fix too-large integer in Hg backend 2018-03-23 13:10:48 -07:00
vc-hooks.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-mtn.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-rcs.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-sccs.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-src.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc-svn.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vc.el * lisp/vc/vc.el (vc-initial-comment): Remove var unused since 23.2. 2018-03-23 20:31:53 -04:00