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:
parent
4e11ad3730
commit
2111e0eeb5
1 changed files with 4 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue