diff options
Diffstat (limited to 'lisp/cedet/semantic/imenu.el')
-rw-r--r-- | lisp/cedet/semantic/imenu.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/cedet/semantic/imenu.el b/lisp/cedet/semantic/imenu.el index e55368b3706..e13eec209ed 100644 --- a/lisp/cedet/semantic/imenu.el +++ b/lisp/cedet/semantic/imenu.el @@ -32,6 +32,8 @@ ;; (setq imenu-create-index-function 'semantic-create-imenu-index) ;; )) +;;; Code: + (require 'semantic) (require 'semantic/format) (require 'semantic/db) @@ -134,7 +136,6 @@ Tags of those classes will be given submenu with children. By default, a `type' has interesting children. In Texinfo, however, a `section' has interesting children.") -;;; Code: (defun semantic-imenu-tag-overlay (tag) "Return the overlay belonging to tag. If TAG doesn't have an overlay, and instead as a vector of positions, @@ -469,9 +470,8 @@ Clears all imenu menus that may be depending on the database." ;; buffer, there is a much more efficient way of doing this. ;; Advise `which-function' so that we optionally use semantic tags ;; instead, and get better stuff. -(require 'advice) -(defvar semantic-which-function 'semantic-default-which-function +(defvar semantic-which-function #'semantic-default-which-function "Function to convert semantic tags into `which-function' text.") (defcustom semantic-which-function-use-color nil |