mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 19:37:58 +00:00
Uncomment the next-error-function integration in xref
* lisp/progmodes/xref.el (xref--xref-buffer-mode): Uncomment the next-error-function integration (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
This commit is contained in:
parent
5f0d0965bd
commit
aae436e2d8
1 changed files with 2 additions and 4 deletions
|
|
@ -608,10 +608,8 @@ references displayed in the current *xref* buffer."
|
||||||
(define-derived-mode xref--xref-buffer-mode special-mode "XREF"
|
(define-derived-mode xref--xref-buffer-mode special-mode "XREF"
|
||||||
"Mode for displaying cross-references."
|
"Mode for displaying cross-references."
|
||||||
(setq buffer-read-only t)
|
(setq buffer-read-only t)
|
||||||
;; FIXME: http://debbugs.gnu.org/20489
|
(setq next-error-function #'xref--next-error-function)
|
||||||
;; (setq next-error-function #'xref--next-error-function)
|
(setq next-error-last-buffer (current-buffer)))
|
||||||
;; (setq next-error-last-buffer (current-buffer))
|
|
||||||
)
|
|
||||||
|
|
||||||
(defun xref--next-error-function (n reset?)
|
(defun xref--next-error-function (n reset?)
|
||||||
(when reset?
|
(when reset?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue