]> git.eshelyaron.com Git - emacs.git/commitdiff
Comment out next-error-function integration in xref
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 23 Jan 2016 09:09:55 +0000 (12:09 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 23 Jan 2016 20:11:31 +0000 (23:11 +0300)
* 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

index d32da371771631ebfe624fbbe6a6bb91386f0beb..b7ac9e02e9fe613b5c01af3a004e43cfd14058af 100644 (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?