From 2111e0eeb5a10389790e39b9103fa73bcf2b75c0 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 23 Jan 2016 12:09:55 +0300 Subject: [PATCH] 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). --- lisp/progmodes/xref.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index d32da371771..b7ac9e02e9f 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -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? -- 2.39.2