[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/xref 2ab3f5b: xref-goto-xref: Quit the window firs
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] scratch/xref 2ab3f5b: xref-goto-xref: Quit the window first |
Date: |
Fri, 19 Dec 2014 14:50:51 +0000 |
branch: scratch/xref
commit 2ab3f5b5465d99d4fd8adacb3390bb156ecf7f39
Author: Helmut Eller <address@hidden>
Commit: Dmitry Gutov <address@hidden>
xref-goto-xref: Quit the window first
---
lisp/progmodes/xref.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index b4574e8..54e2028 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -331,8 +331,8 @@ WINDOW controls how the buffer is displayed:
(defun xref-goto-xref ()
"Jump to the xref at point and close the xref buffer."
(interactive)
- (xref--show-location (xref--location-at-point))
- (quit-window))
+ (quit-window)
+ (xref--show-location (xref--location-at-point)))
(define-derived-mode xref--xref-buffer-mode fundamental-mode "XREF"
"Mode for displaying cross-refenences."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] scratch/xref 2ab3f5b: xref-goto-xref: Quit the window first,
Dmitry Gutov <=