emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 13/14: Fix ggtags-global-handle-exit to conditionally pop up wind


From: Leo Liu
Subject: [elpa] 13/14: Fix ggtags-global-handle-exit to conditionally pop up window
Date: Sun, 22 Jun 2014 09:41:44 +0000

leoliu pushed a commit to branch master
in repository elpa.

commit 823a5dc43ad31b463b314cff1afb284d581661e2
Author: Leo Liu <address@hidden>
Date:   Sun Jun 22 17:34:59 2014 +0800

    Fix ggtags-global-handle-exit to conditionally pop up window
    
    A regression introduced in commit
    65aba1399e51e69185b1a8bbf75821a5a7764655
    
        "For #45: Fix popping up/down window for search with single match"
---
 README.rst |    4 ++--
 ggtags.el  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.rst b/README.rst
index c1ce7eb..f00d69b 100644
--- a/README.rst
+++ b/README.rst
@@ -294,8 +294,8 @@ Integration with other packages
 NEWS
 ~~~~
 
-[devel] 0.8.5
-+++++++++++++
+[2014-06-22 Sun] 0.8.5
+++++++++++++++++++++++
 
 #. New command ``ggtags-find-tag-mouse`` for mouse support.
 #. New command ``ggtags-find-definition``.
diff --git a/ggtags.el b/ggtags.el
index 3c485f9..09e3af7 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -1569,7 +1569,7 @@ commands `next-error' and `previous-error'.
             (save-excursion (goto-char pt) (end-of-line) (point))
             'compilation-message)))
         ;; There are multiple matches so pop up the buffer.
-        (ggtags-global--display-buffer)
+        (and ggtags-navigation-mode (ggtags-global--display-buffer))
       ;; For the `compilation-auto-jump' in idle timer to run.
       ;; See also: http://debbugs.gnu.org/13829
       (sit-for 0)



reply via email to

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