[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b030ebf 1/6: Avoid repeated file-error by eldoc due to mis
From: |
Leo Liu |
Subject: |
[elpa] master b030ebf 1/6: Avoid repeated file-error by eldoc due to missing global |
Date: |
Thu, 11 Jun 2015 23:19:42 +0000 |
branch: master
commit b030ebf025a3a797052e85b766d710d8a3c2c544
Author: Leo Liu <address@hidden>
Commit: Leo Liu <address@hidden>
Avoid repeated file-error by eldoc due to missing global
---
ggtags.el | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ggtags.el b/ggtags.el
index d3973b2..0fa8260 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
;; Author: Leo Liu <address@hidden>
-;; Version: 0.8.9
+;; Version: 0.8.10
;; Keywords: tools, convenience
;; Created: 2013-01-29
;; URL: https://github.com/leoliu/ggtags
@@ -2256,7 +2256,13 @@ to nil disables displaying this information.")
;; Prevent multiple runs of ggtags-show-definition
;; for the same tag.
(setq ggtags-eldoc-cache (list tag))
- (ggtags-show-definition tag)
+ (condition-case err
+ (ggtags-show-definition tag)
+ (file-error
+ (remove-function (local 'eldoc-documentation-function)
+ 'ggtags-eldoc-function)
+ (message "\
+Function `ggtags-eldoc-function' disabled for eldoc in current buffer: %S"
err)))
nil))))))
;;; imenu
- [elpa] master updated (30984c4 -> 1d9cd5e), Leo Liu, 2015/06/11
- [elpa] master b030ebf 1/6: Avoid repeated file-error by eldoc due to missing global,
Leo Liu <=
- [elpa] master c626959 2/6: For #85: New variable ggtags-update-on-save, Leo Liu, 2015/06/11
- [elpa] master d0b7f63 3/6: New command ggtags-explain-tags, Leo Liu, 2015/06/11
- [elpa] master 508e10c 4/6: Implement #99: New user option ggtags-sort-by-nearness, Leo Liu, 2015/06/11
- [elpa] master 9efd5f6 5/6: Doc fix, Leo Liu, 2015/06/11
- [elpa] master 1d9cd5e 6/6: Merge branch 'master' of github.com:leoliu/ggtags, Leo Liu, 2015/06/11