Comment out next-error-function integration in xref

* lisp/progmodes/xref.el (xref--xref-buffer-mode):
Comment out next-error-function integration
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
This commit is contained in:
Dmitry Gutov 2016-01-23 12:09:55 +03:00
parent 4e11ad3730
commit 2111e0eeb5

View file

@ -600,8 +600,10 @@ references displayed in the current *xref* buffer."
(define-derived-mode xref--xref-buffer-mode special-mode "XREF"
"Mode for displaying cross-references."
(setq buffer-read-only t)
(setq next-error-function #'xref--next-error-function)
(setq next-error-last-buffer (current-buffer)))
;; FIXME: http://debbugs.gnu.org/20489
;; (setq next-error-function #'xref--next-error-function)
;; (setq next-error-last-buffer (current-buffer))
)
(defun xref--next-error-function (n reset?)
(when reset?