emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 aae436e: Uncomment the next-error-function integr


From: Dmitry Gutov
Subject: [Emacs-diffs] emacs-25 aae436e: Uncomment the next-error-function integration in xref
Date: Mon, 29 Feb 2016 03:16:51 +0000

branch: emacs-25
commit aae436e2d898a8c8cc243c73d6cec5a8c566a061
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Uncomment the next-error-function integration in xref
    
    * lisp/progmodes/xref.el (xref--xref-buffer-mode):
    Uncomment the next-error-function integration
    (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
---
 lisp/progmodes/xref.el |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index f983525..1e6a69f 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -608,10 +608,8 @@ 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)
-  ;; FIXME: http://debbugs.gnu.org/20489
-  ;; (setq next-error-function #'xref--next-error-function)
-  ;; (setq next-error-last-buffer (current-buffer))
-  )
+  (setq next-error-function #'xref--next-error-function)
+  (setq next-error-last-buffer (current-buffer)))
 
 (defun xref--next-error-function (n reset?)
   (when reset?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]