diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2010-10-08 12:14:47 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2010-10-08 12:14:47 +0200 |
commit | 4628bef1eea0f60e846fe6b6591725aa92952de9 (patch) | |
tree | 9d137b8e0964c0b1ebc4afb4e743e35b807d048d /lisp/cedet/semantic/mru-bookmark.el | |
parent | 24ac444fbe5d76a7cf09a62b741b9e956ab90d3e (diff) | |
parent | 2b7c934285417d2eac7a3c603231d22ce7e212d8 (diff) | |
download | emacs-4628bef1eea0f60e846fe6b6591725aa92952de9.tar.gz |
Merge changes from emacs-23 branch.
Diffstat (limited to 'lisp/cedet/semantic/mru-bookmark.el')
-rw-r--r-- | lisp/cedet/semantic/mru-bookmark.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/mru-bookmark.el b/lisp/cedet/semantic/mru-bookmark.el index 12e0cb9f834..b723a848c10 100644 --- a/lisp/cedet/semantic/mru-bookmark.el +++ b/lisp/cedet/semantic/mru-bookmark.el @@ -239,6 +239,18 @@ This function pushes tags onto the tag ring." ;; ;; Tracking minor mode. +(defcustom global-semantic-mru-bookmark-mode nil + "If non-nil, enable `semantic-mru-bookmark-mode' globally. +When this mode is enabled, Emacs keeps track of which tags have +been edited, and you can re-visit them with \\[semantic-mrub-switch-tags]." + :group 'semantic + :group 'semantic-modes + :type 'boolean + :require 'semantic/util-modes + :initialize 'custom-initialize-default + :set (lambda (sym val) + (global-semantic-mru-bookmark-mode (if val 1 -1)))) + ;;;###autoload (define-minor-mode global-semantic-mru-bookmark-mode "Toggle global use of option `semantic-mru-bookmark-mode'. |