From: Dmitry Gutov Date: Sat, 23 Jan 2016 09:09:55 +0000 (+0300) Subject: Comment out next-error-function integration in xref X-Git-Tag: emacs-25.0.90~72 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2111e0e;p=emacs.git 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). --- 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?