[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 03/38: Don't display buffer if ggtags-navigation-mode is exited
From: |
Leo Liu |
Subject: |
[elpa] 03/38: Don't display buffer if ggtags-navigation-mode is exited |
Date: |
Mon, 24 Mar 2014 09:31:32 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit a4ba72b12124d125e49db217603c6542fbc98a5b
Author: Leo Liu <address@hidden>
Date: Tue Mar 4 03:55:11 2014 +0800
Don't display buffer if ggtags-navigation-mode is exited
or we will undo the work of ggtags-navigation-mode-done.
---
ggtags.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ggtags.el b/ggtags.el
index b5dd77f..a01e286 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -1007,6 +1007,8 @@ Global and Emacs."
(w (display-buffer (current-buffer) '(nil (allow-no-window .
t)))))
(and w (compilation-set-window-height w))))))
+(defvar ggtags-navigation-mode)
+
(defun ggtags-global-filter ()
"Called from `compilation-filter-hook' (which see)."
(let ((ansi-color-apply-face-function
@@ -1023,7 +1025,7 @@ Global and Emacs."
(replace-match ""))
(incf ggtags-global-output-lines
(count-lines compilation-filter-start (point)))
- (when (> ggtags-global-output-lines 5)
+ (when (and (> ggtags-global-output-lines 5) (not ggtags-navigation-mode))
(ggtags-global--display-buffer))
(make-local-variable 'ggtags-global-large-output)
(when (> ggtags-global-output-lines ggtags-global-large-output)
- [elpa] branch master updated (0601efd -> f11199d), Leo Liu, 2014/03/24
- [elpa] 02/38: Give ggtags-show-definition-function full information, Leo Liu, 2014/03/24
- [elpa] 01/38: New command ggtags-show-definition, Leo Liu, 2014/03/24
- [elpa] 08/38: Call ggtags-show-definition-function in the original buffer, Leo Liu, 2014/03/24
- [elpa] 03/38: Don't display buffer if ggtags-navigation-mode is exited,
Leo Liu <=
- [elpa] 07/38: Fix some errors in ggtags-global-output, Leo Liu, 2014/03/24
- [elpa] 04/38: Combine ggtags-global-column and tag name search, Leo Liu, 2014/03/24
- [elpa] 06/38: Fix #34: New variable ggtags-global-always-update, Leo Liu, 2014/03/24
- [elpa] 09/38: Replace ignore-errors with condition-case-unless-debug, Leo Liu, 2014/03/24
- [elpa] 10/38: Automatically use GTAGSCONF file at project root, Leo Liu, 2014/03/24
- [elpa] 05/38: Improve completion support for all tag types, Leo Liu, 2014/03/24
- [elpa] 11/38: Make last change acutally work, Leo Liu, 2014/03/24
- [elpa] 12/38: Fix compatibility for locate-dominating-file, Leo Liu, 2014/03/24
- [elpa] 14/38: Display project root directory name on mode-line, Leo Liu, 2014/03/24
- [elpa] 22/38: New command ggtags-navigation-isearch-forward, Leo Liu, 2014/03/24