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

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

[elpa] master b4ee572 1/7: Fix #124: Fix lighter for ggtags-navigation-m


From: Leo Liu
Subject: [elpa] master b4ee572 1/7: Fix #124: Fix lighter for ggtags-navigation-mode
Date: Sun, 2 Oct 2016 01:47:27 +0000 (UTC)

branch: master
commit b4ee572a6b2e70d3db6ce11f73e6f87b73a13273
Author: Leo Liu <address@hidden>
Commit: Leo Liu <address@hidden>

    Fix #124: Fix lighter for ggtags-navigation-mode
---
 README.rst |    9 ++++++++-
 ggtags.el  |   11 ++++++++---
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/README.rst b/README.rst
index eda0427..819ae1e 100644
--- a/README.rst
+++ b/README.rst
@@ -30,7 +30,8 @@ Features
 #. Highlight (definition) tag at point.
 #. Abbreviated display of file names.
 #. Support all Global search backends: ``grep``, ``idutils`` etc.
-#. Support `exuberant ctags <http://ctags.sourceforge.net/>`_ backend.
+#. Support `exuberant ctags <http://ctags.sourceforge.net/>`_ and
+   ``pygments`` backend.
 #. Support all Global's output formats: ``grep``, ``ctags-x``,
    ``cscope`` etc.
 #. Support projects on remote hosts (e.g. via ``tramp``).
@@ -313,6 +314,12 @@ Integration with other packages
 NEWS
 ~~~~
 
+(devel) 0.8.12
+++++++++++++++
+
+#. ``ggtags-navigation-mode`` is more discreet in displaying lighter
+   when ``ggtags-enable-navigation-keys`` is set to nil.
+
 [2015-12-15 Tue] 0.8.11
 +++++++++++++++++++++++
 
diff --git a/ggtags.el b/ggtags.el
index 08fb4c8..1c72845 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -1,9 +1,9 @@
 ;;; ggtags.el --- emacs frontend to GNU Global source code tagging system  -*- 
lexical-binding: t; -*-
 
-;; Copyright (C) 2013-2015  Free Software Foundation, Inc.
+;; Copyright (C) 2013-2016  Free Software Foundation, Inc.
 
 ;; Author: Leo Liu <address@hidden>
-;; Version: 0.8.11
+;; Version: 0.8.12
 ;; Keywords: tools, convenience
 ;; Created: 2013-01-29
 ;; URL: https://github.com/leoliu/ggtags
@@ -1941,7 +1941,12 @@ ggtags: history match invalid, jump to first match 
instead")
   "Ligher for `ggtags-navigation-mode'; set to nil to disable it.")
 
 (define-minor-mode ggtags-navigation-mode nil
-  :lighter ggtags-navigation-mode-lighter
+  ;; If `ggtags-enable-navigation-keys' is set to nil only display the
+  ;; lighter in `ggtags-mode' buffers.
+  ;; See https://github.com/leoliu/ggtags/issues/124
+  :lighter (:eval (and (or ggtags-enable-navigation-keys
+                           ggtags-mode)
+                       ggtags-navigation-mode-lighter))
   :global t
   (if ggtags-navigation-mode
       (progn



reply via email to

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