[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 12/14: Fix ggtags-navigation-mode-abort when pop-tag-mark errs
From: |
Leo Liu |
Subject: |
[elpa] 12/14: Fix ggtags-navigation-mode-abort when pop-tag-mark errs |
Date: |
Sun, 30 Mar 2014 07:02:41 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 03271b36ded275a27f9f0f3caf25b3f8564e3c4d
Author: Leo Liu <address@hidden>
Date: Sat Mar 29 22:46:27 2014 +0800
Fix ggtags-navigation-mode-abort when pop-tag-mark errs
---
ggtags.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ggtags.el b/ggtags.el
index b0efaa8..98c1212 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -143,8 +143,8 @@ directory local variables is not enabled by default per
(defcustom ggtags-auto-jump-to-match 'first
"Strategy on how to jump to match: nil, first or history.
- nil: never automatically jump to any match;
-first: jump to the first match;
+ nil: never automatically jump to any match;
+ first: jump to the first match;
history: jump to the match stored in search history."
:type '(choice (const :tag "First match" first)
(const :tag "Search History" history)
@@ -1467,13 +1467,13 @@ commands `next-error' and `previous-error'.
(defun ggtags-navigation-mode-abort ()
(interactive)
(ggtags-navigation-mode -1)
+ (ggtags-navigation-mode-cleanup nil 0)
;; Run after (ggtags-navigation-mode -1) or
;; ggtags-global-start-marker might not have been saved.
(when (and ggtags-global-start-marker
(not (markerp ggtags-global-start-marker)))
(setq ggtags-global-start-marker nil)
- (pop-tag-mark))
- (ggtags-navigation-mode-cleanup nil 0))
+ (pop-tag-mark)))
(defun ggtags-navigation-next-file (n)
(interactive "p")
- [elpa] 02/14: Fix #12: Remove ggtags-completing-read-function, (continued)
- [elpa] 02/14: Fix #12: Remove ggtags-completing-read-function, Leo Liu, 2014/03/30
- [elpa] 04/14: Fix ggtags-try-complete-tag to use ggtags-bounds-of-tag-function, Leo Liu, 2014/03/30
- [elpa] 05/14: Fix #42: Clear ggtags-project-root in non-file buffers, Leo Liu, 2014/03/30
- [elpa] 01/14: Enhance ggtags-view-tag-history to use next-/previous-error, Leo Liu, 2014/03/30
- [elpa] 06/14: New user variable ggtags-global-use-color, Leo Liu, 2014/03/30
- [elpa] 08/14: Fix warning: Making variable buffer-local while let-bound!, Leo Liu, 2014/03/30
- [elpa] 10/14: Disable ggtags-navigation-mode at the right time, Leo Liu, 2014/03/30
- [elpa] 13/14: Fix #44: New variable ggtags-enable-navigation-keys, Leo Liu, 2014/03/30
- [elpa] 09/14: Use compilation-auto-jump in ggtags-global-filter, Leo Liu, 2014/03/30
- [elpa] 11/14: Rename ggtags-handle-single-match to ggtags-global-handle-exit, Leo Liu, 2014/03/30
- [elpa] 12/14: Fix ggtags-navigation-mode-abort when pop-tag-mark errs,
Leo Liu <=
- [elpa] 14/14: Merge branch 'master' of github.com:leoliu/ggtags, Leo Liu, 2014/03/30
- [elpa] 07/14: Implement feature #43: Jump to match from search history, Leo Liu, 2014/03/30