diff options
| author | James Nguyen <james@jojojames.com> | 2017-12-03 01:46:37 -0800 |
|---|---|---|
| committer | James Nguyen <james@jojojames.com> | 2017-12-03 01:46:37 -0800 |
| commit | 5a32dc6fbadfc5a5e7bbdeedb28d843fbd1f8c7b (patch) | |
| tree | 324d516b344c1041f0fdeb6aa3c5fa2f3c505d05 | |
| parent | 389e486349f9f587c1b9665f54f118460f2c41a4 (diff) | |
GGTags: Add bounds check
| -rw-r--r-- | evil-ggtags.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/evil-ggtags.el b/evil-ggtags.el index 182f259..330ae5b 100644 --- a/evil-ggtags.el +++ b/evil-ggtags.el @@ -44,7 +44,8 @@ ;; `ggtags-navigation-mode' is global and will conflict with other bindings. ;; https://github.com/leoliu/ggtags/issues/124 - (setq ggtags-enable-navigation-keys nil) + (when (boundp 'ggtags-enable-navigation-keys) + (setq ggtags-enable-navigation-keys nil)) (evil-define-key 'normal ggtags-mode-map "gd" 'ggtags-find-tag-dwim |
