X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/b3253cd4b4bcbe1ab4ad1fdc98b30c33af70332c..732fd4c7e11debd61c97eaaba3038d61e6ec7024:/lisp/cedet/semantic/imenu.el diff --git a/lisp/cedet/semantic/imenu.el b/lisp/cedet/semantic/imenu.el index e38b50bcd5..c043125b5c 100644 --- a/lisp/cedet/semantic/imenu.el +++ b/lisp/cedet/semantic/imenu.el @@ -1,7 +1,7 @@ ;;; semantic/imenu.el --- Use Semantic as an imenu tag generator -;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010 -;; Free Software Foundation, Inc. +;; Copyright (C) 2000-2005, 2007-2008, 2010-2015 Free Software +;; Foundation, Inc. ;; Author: Eric M. Ludlam ;; Maintainer: Eric Ludlam @@ -96,7 +96,7 @@ This option is ignored if `semantic-imenu-bucketize-file' is nil." (defcustom semantic-imenu-bucketize-type-members t "*Non-nil if members of a type should be grouped into buckets. A nil value means to keep them in the same order. -Overriden to nil if `semantic-imenu-bucketize-file' is nil." +Overridden to nil if `semantic-imenu-bucketize-file' is nil." :group 'semantic-imenu :type 'boolean) (make-variable-buffer-local 'semantic-imenu-bucketize-type-members) @@ -235,7 +235,7 @@ Optional argument STREAM is an optional stream of tags used to create menus." (setq imenu-default-goto-function 'semantic-imenu-goto-function) (prog1 (if (and semantic-imenu-index-directory - (featurep 'semanticdb) + (featurep 'semantic/db) (semanticdb-minor-mode-p)) (semantic-create-imenu-directory-index (or stream (semantic-fetch-tags-fast))) @@ -368,7 +368,7 @@ Optional argument PARENT is a tag parent of STREAM." semantic-imenu-expandable-tag-classes) children ) - ;; to keep an homogeneous menu organisation, type menu items + ;; to keep an homogeneous menu organization, type menu items ;; always have a sub-menu with at least the *definition* ;; item (even if the tag has no type components) (progn @@ -393,7 +393,7 @@ Optional argument PARENT is a tag parent of STREAM." semantic-imenu-bucketize-file) (semantic-create-imenu-index-1 parts tag) (semantic-create-imenu-subindex parts)))) - ;; Only add a *definition* if we have a postion + ;; Only add a *definition* if we have a position ;; in that type tag. (if (semantic-tag-with-position-p tag) (cons