aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/cedet-global.el3
-rw-r--r--lisp/cedet/ede.el8
-rw-r--r--lisp/cedet/ede/files.el2
-rw-r--r--lisp/cedet/ede/locate.el10
-rw-r--r--lisp/cedet/mode-local.el24
-rw-r--r--lisp/cedet/semantic.el4
-rw-r--r--lisp/cedet/semantic/bovine/c.el4
-rw-r--r--lisp/cedet/semantic/db-find.el4
-rw-r--r--lisp/cedet/semantic/doc.el6
-rw-r--r--lisp/cedet/semantic/find.el4
-rw-r--r--lisp/cedet/semantic/fw.el4
-rw-r--r--lisp/cedet/semantic/lex.el4
-rw-r--r--lisp/cedet/semantic/sort.el2
-rw-r--r--lisp/cedet/semantic/symref.el14
-rw-r--r--lisp/cedet/semantic/tag.el24
15 files changed, 50 insertions, 67 deletions
diff --git a/lisp/cedet/cedet-global.el b/lisp/cedet/cedet-global.el
index 3ceed5d3b54..77ffef037f1 100644
--- a/lisp/cedet/cedet-global.el
+++ b/lisp/cedet/cedet-global.el
@@ -104,7 +104,8 @@ SCOPE is the scope of the search, such as 'project or 'subdirs."
104 104
105(defun cedet-gnu-global-expand-filename (filename) 105(defun cedet-gnu-global-expand-filename (filename)
106 "Expand the FILENAME with GNU Global. 106 "Expand the FILENAME with GNU Global.
107Return a fully qualified filename." 107Return a list of absolute filenames or nil if none found.
108Signal an error if Gnu global not available."
108 (interactive "sFile: ") 109 (interactive "sFile: ")
109 (let ((ans (with-current-buffer (cedet-gnu-global-call (list "-Pa" filename)) 110 (let ((ans (with-current-buffer (cedet-gnu-global-call (list "-Pa" filename))
110 (goto-char (point-min)) 111 (goto-char (point-min))
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el
index 76ec3567c63..2a522bcccd8 100644
--- a/lisp/cedet/ede.el
+++ b/lisp/cedet/ede.el
@@ -81,12 +81,12 @@
81 "Whether a new source file should be automatically added to a target. 81 "Whether a new source file should be automatically added to a target.
82Whenever a new file is encountered in a directory controlled by a 82Whenever a new file is encountered in a directory controlled by a
83project file, all targets are queried to see if it should be added. 83project file, all targets are queried to see if it should be added.
84If the value is 'always, then the new file is added to the first 84If the value is `always', then the new file is added to the first
85target encountered. If the value is 'multi-ask, then if more than one 85target encountered. If the value is `multi-ask', then if more than one
86target wants the file, the user is asked. If only one target wants 86target wants the file, the user is asked. If only one target wants
87the file, then it is automatically added to that target. If the 87the file, then it is automatically added to that target. If the
88value is 'ask, then the user is always asked, unless there is no 88value is `ask', then the user is always asked, unless there is no
89target willing to take the file. 'never means never perform the check." 89target willing to take the file. `never' means never perform the check."
90 :group 'ede 90 :group 'ede
91 :type '(choice (const always) 91 :type '(choice (const always)
92 (const multi-ask) 92 (const multi-ask)
diff --git a/lisp/cedet/ede/files.el b/lisp/cedet/ede/files.el
index 4ba823adeee..81a1a6adf2e 100644
--- a/lisp/cedet/ede/files.el
+++ b/lisp/cedet/ede/files.el
@@ -304,7 +304,7 @@ Do this whenever a new project is created, as opposed to loaded."
304;; instead so that -P can be obsoleted. 304;; instead so that -P can be obsoleted.
305(defun ede-directory-project-p (dir &optional force) 305(defun ede-directory-project-p (dir &optional force)
306 "Return a project description object if DIR is in a project. 306 "Return a project description object if DIR is in a project.
307Optional argument FORCE means to ignore a hash-hit of 'nomatch. 307Optional argument FORCE means to ignore a hash-hit of `nomatch'.
308This depends on an up to date `ede-project-class-files' variable. 308This depends on an up to date `ede-project-class-files' variable.
309Any directory that contains the file .ede-ignore will always 309Any directory that contains the file .ede-ignore will always
310return nil. 310return nil.
diff --git a/lisp/cedet/ede/locate.el b/lisp/cedet/ede/locate.el
index a076c46513c..cee2f8ec419 100644
--- a/lisp/cedet/ede/locate.el
+++ b/lisp/cedet/ede/locate.el
@@ -100,9 +100,9 @@ based on `ede-locate-setup-options'."
100(defclass ede-locate-base () 100(defclass ede-locate-base ()
101 ((root :initarg :root 101 ((root :initarg :root
102 :documentation 102 :documentation
103 "The root of these locat searches.") 103 "The root of these locate searches.")
104 (file :documentation 104 (file :documentation
105 "The last file search for with EDE locate.") 105 "The last file searched for with EDE locate.")
106 (lastanswer :documentation 106 (lastanswer :documentation
107 "The last answer provided by the locator.") 107 "The last answer provided by the locator.")
108 (hash :documentation 108 (hash :documentation
@@ -245,10 +245,8 @@ variable `cedet-global-command'.")
245 newroot)) 245 newroot))
246 246
247(cl-defmethod ede-locate-file-in-project-impl ((loc ede-locate-global) 247(cl-defmethod ede-locate-file-in-project-impl ((loc ede-locate-global)
248 filesubstring) 248 filesubstring)
249 "Locate with LOC occurrences of FILESUBSTRING under PROJECTROOT. 249 "Locate occurrences of FILESUBSTRING in LOC, using Gnu Global."
250Searches are done under the current root of the EDE project
251that created this EDE locate object."
252 (require 'cedet-global) 250 (require 'cedet-global)
253 (let ((default-directory (oref loc root))) 251 (let ((default-directory (oref loc root)))
254 (cedet-gnu-global-expand-filename filesubstring))) 252 (cedet-gnu-global-expand-filename filesubstring)))
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el
index b5995ffa397..48e73c20923 100644
--- a/lisp/cedet/mode-local.el
+++ b/lisp/cedet/mode-local.el
@@ -627,7 +627,8 @@ SYMBOL is a function that can be overridden."
627 (beginning-of-line) 627 (beginning-of-line)
628 (forward-line -1)) 628 (forward-line -1))
629 (let ((inhibit-read-only t)) 629 (let ((inhibit-read-only t))
630 (insert (overload-docstring-extension symbol) "\n") 630 (insert (substitute-command-keys (overload-docstring-extension symbol))
631 "\n")
631 ;; NOTE TO SELF: 632 ;; NOTE TO SELF:
632 ;; LIST ALL LOADED OVERRIDES FOR SYMBOL HERE 633 ;; LIST ALL LOADED OVERRIDES FOR SYMBOL HERE
633 ))) 634 )))
@@ -641,7 +642,8 @@ SYMBOL is a function that can be overridden."
641 (fetch-overload symbol))) 642 (fetch-overload symbol)))
642 modes) 643 modes)
643 644
644 (insert (overload-docstring-extension symbol) "\n\n") 645 (insert (substitute-command-keys (overload-docstring-extension symbol))
646 "\n\n")
645 (insert (format-message "default function: `%s'\n" default)) 647 (insert (format-message "default function: `%s'\n" default))
646 (if override 648 (if override
647 (insert (format-message "\noverride in buffer `%s': `%s'\n" 649 (insert (format-message "\noverride in buffer `%s': `%s'\n"
@@ -872,24 +874,6 @@ invoked interactively."
872 (when (setq mode (intern-soft mode)) 874 (when (setq mode (intern-soft mode))
873 (mode-local-describe-bindings-1 mode (called-interactively-p 'any)))) 875 (mode-local-describe-bindings-1 mode (called-interactively-p 'any))))
874 876
875;; ;;; find-func support (Emacs 21.4, or perhaps 22.1)
876;; ;;
877;; (condition-case nil
878;; ;; Try to get find-func so we can modify it.
879;; (require 'find-func)
880;; (error nil))
881
882;; (when (boundp 'find-function-regexp)
883;; (unless (string-match "ine-overload" find-function-regexp)
884;; (if (string-match "(def\\\\(" find-function-regexp)
885;; (let ((end (match-end 0))
886;; )
887;; (setq find-function-regexp
888;; (concat (substring find-function-regexp 0 end)
889;; "ine-overload\\|ine-mode-local-override\\|"
890;; "ine-child-mode\\|"
891;; (substring find-function-regexp end)))))))
892
893;;; edebug support 877;;; edebug support
894;; 878;;
895(defun mode-local-setup-edebug-specs () 879(defun mode-local-setup-edebug-specs ()
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el
index 290cd907beb..a9af84af3d4 100644
--- a/lisp/cedet/semantic.el
+++ b/lisp/cedet/semantic.el
@@ -1191,7 +1191,7 @@ This function can be used by `completion-at-point-functions'."
1191(defun semantic-analyze-notc-completion-at-point-function () 1191(defun semantic-analyze-notc-completion-at-point-function ()
1192 "Return possible analysis completions at point. 1192 "Return possible analysis completions at point.
1193The completions provided are via `semantic-analyze-possible-completions', 1193The completions provided are via `semantic-analyze-possible-completions',
1194but with the 'no-tc option passed in, which means constraints based 1194but with the `no-tc' option passed in, which means constraints based
1195on what is being assigned to are ignored. 1195on what is being assigned to are ignored.
1196This function can be used by `completion-at-point-functions'." 1196This function can be used by `completion-at-point-functions'."
1197 (when (semantic-active-p) 1197 (when (semantic-active-p)
@@ -1207,7 +1207,7 @@ This function can be used by `completion-at-point-functions'."
1207(defun semantic-analyze-nolongprefix-completion-at-point-function () 1207(defun semantic-analyze-nolongprefix-completion-at-point-function ()
1208 "Return possible analysis completions at point. 1208 "Return possible analysis completions at point.
1209The completions provided are via `semantic-analyze-possible-completions', 1209The completions provided are via `semantic-analyze-possible-completions',
1210but with the 'no-tc and 'no-longprefix option passed in, which means 1210but with the `no-tc' and `no-longprefix' option passed in, which means
1211constraints resulting in a long multi-symbol dereference are ignored. 1211constraints resulting in a long multi-symbol dereference are ignored.
1212This function can be used by `completion-at-point-functions'." 1212This function can be used by `completion-at-point-functions'."
1213 (when (semantic-active-p) 1213 (when (semantic-active-p)
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el
index 1c25c7b0808..d5af635d14c 100644
--- a/lisp/cedet/semantic/bovine/c.el
+++ b/lisp/cedet/semantic/bovine/c.el
@@ -1513,7 +1513,7 @@ Override function for `semantic-tag-protection'."
1513 1513
1514(define-mode-local-override semantic-find-tags-included c-mode 1514(define-mode-local-override semantic-find-tags-included c-mode
1515 (&optional table) 1515 (&optional table)
1516 "Find all tags in TABLE that are of the 'include class. 1516 "Find all tags in TABLE that are of the `include' class.
1517TABLE is a tag table. See `semantic-something-to-tag-table'. 1517TABLE is a tag table. See `semantic-something-to-tag-table'.
1518For C++, we also have to search namespaces for include tags." 1518For C++, we also have to search namespaces for include tags."
1519 (let ((tags (semantic-find-tags-by-class 'include table)) 1519 (let ((tags (semantic-find-tags-by-class 'include table))
@@ -1948,7 +1948,7 @@ For types with a :parent, create faux namespaces to put TAG into."
1948(define-mode-local-override semanticdb-find-table-for-include c-mode 1948(define-mode-local-override semanticdb-find-table-for-include c-mode
1949 (includetag &optional table) 1949 (includetag &optional table)
1950 "For a single INCLUDETAG found in TABLE, find a `semanticdb-table' object 1950 "For a single INCLUDETAG found in TABLE, find a `semanticdb-table' object
1951INCLUDETAG is a semantic TAG of class 'include. 1951INCLUDETAG is a semantic TAG of class `include'.
1952TABLE is a semanticdb table that identifies where INCLUDETAG came from. 1952TABLE is a semanticdb table that identifies where INCLUDETAG came from.
1953TABLE is optional if INCLUDETAG has an overlay of :filename attribute. 1953TABLE is optional if INCLUDETAG has an overlay of :filename attribute.
1954 1954
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el
index 293f535d60b..e5ce4cf233c 100644
--- a/lisp/cedet/semantic/db-find.el
+++ b/lisp/cedet/semantic/db-find.el
@@ -316,7 +316,7 @@ Default action as described in `semanticdb-find-translate-path'."
316;;;###autoload 316;;;###autoload
317(define-overloadable-function semanticdb-find-table-for-include (includetag &optional table) 317(define-overloadable-function semanticdb-find-table-for-include (includetag &optional table)
318 "For a single INCLUDETAG found in TABLE, find a `semanticdb-table' object 318 "For a single INCLUDETAG found in TABLE, find a `semanticdb-table' object
319INCLUDETAG is a semantic TAG of class 'include. 319INCLUDETAG is a semantic TAG of class `include'.
320TABLE is a semanticdb table that identifies where INCLUDETAG came from. 320TABLE is a semanticdb table that identifies where INCLUDETAG came from.
321TABLE is optional if INCLUDETAG has an overlay of :filename attribute." 321TABLE is optional if INCLUDETAG has an overlay of :filename attribute."
322 ) 322 )
@@ -854,7 +854,7 @@ This makes it appear more like the results of a `semantic-find-' call.
854Optional FIND-FILE-MATCH loads all files associated with RESULTS 854Optional FIND-FILE-MATCH loads all files associated with RESULTS
855into buffers. This has the side effect of enabling `semantic-tag-buffer' to 855into buffers. This has the side effect of enabling `semantic-tag-buffer' to
856return a value. 856return a value.
857If FIND-FILE-MATCH is 'name, then only the filename is stored 857If FIND-FILE-MATCH is `name', then only the filename is stored
858in each tag instead of loading each file into a buffer. 858in each tag instead of loading each file into a buffer.
859If the input RESULTS are not going to be used again, and if 859If the input RESULTS are not going to be used again, and if
860FIND-FILE-MATCH is nil, you can use `semanticdb-fast-strip-find-results' 860FIND-FILE-MATCH is nil, you can use `semanticdb-fast-strip-find-results'
diff --git a/lisp/cedet/semantic/doc.el b/lisp/cedet/semantic/doc.el
index 3ceb3510ad2..65718a0532e 100644
--- a/lisp/cedet/semantic/doc.el
+++ b/lisp/cedet/semantic/doc.el
@@ -41,7 +41,7 @@ some documentation in a comment preceding TAG's definition which we
41can look for. When appropriate, this can be overridden by a language specific 41can look for. When appropriate, this can be overridden by a language specific
42enhancement. 42enhancement.
43Optional argument NOSNARF means to only return the lexical analyzer token for it. 43Optional argument NOSNARF means to only return the lexical analyzer token for it.
44If nosnarf if 'lex, then only return the lex token." 44If NOSNARF is `lex', then only return the lex token."
45 (if (not tag) (setq tag (semantic-current-tag))) 45 (if (not tag) (setq tag (semantic-current-tag)))
46 (save-excursion 46 (save-excursion
47 (when (semantic-tag-with-position-p tag) 47 (when (semantic-tag-with-position-p tag)
@@ -66,7 +66,7 @@ If nosnarf if 'lex, then only return the lex token."
66If TAG is nil. use the tag under point. 66If TAG is nil. use the tag under point.
67Searches the space between TAG and the preceding tag for a comment, 67Searches the space between TAG and the preceding tag for a comment,
68and converts the comment into clean documentation. 68and converts the comment into clean documentation.
69Optional argument NOSNARF with a value of 'lex means to return 69Optional argument NOSNARF with a value of `lex' means to return
70just the lexical token and not the string." 70just the lexical token and not the string."
71 (if (not tag) (setq tag (semantic-current-tag))) 71 (if (not tag) (setq tag (semantic-current-tag)))
72 (save-excursion 72 (save-excursion
@@ -92,7 +92,7 @@ just the lexical token and not the string."
92 "Snarf up the comment at POINT for `semantic-documentation-for-tag'. 92 "Snarf up the comment at POINT for `semantic-documentation-for-tag'.
93Attempt to strip out comment syntactic sugar. 93Attempt to strip out comment syntactic sugar.
94Argument NOSNARF means don't modify the found text. 94Argument NOSNARF means don't modify the found text.
95If NOSNARF is 'lex, then return the lex token." 95If NOSNARF is `lex', then return the lex token."
96 (let* ((semantic-ignore-comments nil) 96 (let* ((semantic-ignore-comments nil)
97 (semantic-lex-analyzer #'semantic-comment-lexer)) 97 (semantic-lex-analyzer #'semantic-comment-lexer))
98 (if (memq nosnarf '(lex flex)) ;; keep `flex' for compatibility 98 (if (memq nosnarf '(lex flex)) ;; keep `flex' for compatibility
diff --git a/lisp/cedet/semantic/find.el b/lisp/cedet/semantic/find.el
index fdd5f5290f1..5450ac953f6 100644
--- a/lisp/cedet/semantic/find.el
+++ b/lisp/cedet/semantic/find.el
@@ -378,11 +378,11 @@ See `semantic-tag-protected-p' for details on which tags are returned."
378 378
379;;;###autoload 379;;;###autoload
380(define-overloadable-function semantic-find-tags-included (&optional table) 380(define-overloadable-function semantic-find-tags-included (&optional table)
381 "Find all tags in TABLE that are of the 'include class. 381 "Find all tags in TABLE that are of the `include' class.
382TABLE is a tag table. See `semantic-something-to-tag-table'.") 382TABLE is a tag table. See `semantic-something-to-tag-table'.")
383 383
384(defun semantic-find-tags-included-default (&optional table) 384(defun semantic-find-tags-included-default (&optional table)
385 "Find all tags in TABLE that are of the 'include class. 385 "Find all tags in TABLE that are of the `include' class.
386TABLE is a tag table. See `semantic-something-to-tag-table'. 386TABLE is a tag table. See `semantic-something-to-tag-table'.
387By default, just call `semantic-find-tags-by-class'." 387By default, just call `semantic-find-tags-by-class'."
388 (semantic-find-tags-by-class 'include table)) 388 (semantic-find-tags-by-class 'include table))
diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el
index d8ba6f275f3..fed50fb5dfa 100644
--- a/lisp/cedet/semantic/fw.el
+++ b/lisp/cedet/semantic/fw.el
@@ -171,7 +171,7 @@ That is remove the unsupported :help stuff."
171NAME specifies a special name that can be searched for later to 171NAME specifies a special name that can be searched for later to
172recover the cached data with `semantic-get-cache-data'. 172recover the cached data with `semantic-get-cache-data'.
173LIFESPAN indicates how long the data cache will be remembered. 173LIFESPAN indicates how long the data cache will be remembered.
174The default LIFESPAN is 'end-of-command. 174The default LIFESPAN is `end-of-command'.
175Possible Lifespans are: 175Possible Lifespans are:
176 `end-of-command' - Remove the cache at the end of the currently 176 `end-of-command' - Remove the cache at the end of the currently
177 executing command. 177 executing command.
@@ -193,7 +193,7 @@ Possible Lifespans are:
193 )) 193 ))
194 194
195(defun semantic-cache-data-post-command-hook () 195(defun semantic-cache-data-post-command-hook ()
196 "Flush `semantic-cache-data-overlays' based 'lifespan property. 196 "Flush `semantic-cache-data-overlays' based `lifespan' property.
197Remove self from `post-command-hook' if it is empty." 197Remove self from `post-command-hook' if it is empty."
198 (let ((newcache nil) 198 (let ((newcache nil)
199 (oldcache semantic-cache-data-overlays)) 199 (oldcache semantic-cache-data-overlays))
diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el
index 7738e06ff88..c8645c2b7d3 100644
--- a/lisp/cedet/semantic/lex.el
+++ b/lisp/cedet/semantic/lex.el
@@ -1815,13 +1815,13 @@ to keep comments as part of the token stream.")
1815(make-variable-buffer-local 'semantic-ignore-comments) 1815(make-variable-buffer-local 'semantic-ignore-comments)
1816 1816
1817(defvar semantic-flex-enable-newlines nil 1817(defvar semantic-flex-enable-newlines nil
1818 "When flexing, report 'newlines as syntactic elements. 1818 "When flexing, report newlines as syntactic elements.
1819Useful for languages where the newline is a special case terminator. 1819Useful for languages where the newline is a special case terminator.
1820Only set this on a per mode basis, not globally.") 1820Only set this on a per mode basis, not globally.")
1821(make-variable-buffer-local 'semantic-flex-enable-newlines) 1821(make-variable-buffer-local 'semantic-flex-enable-newlines)
1822 1822
1823(defvar semantic-flex-enable-whitespace nil 1823(defvar semantic-flex-enable-whitespace nil
1824 "When flexing, report 'whitespace as syntactic elements. 1824 "When flexing, report whitespace as syntactic elements.
1825Useful for languages where the syntax is whitespace dependent. 1825Useful for languages where the syntax is whitespace dependent.
1826Only set this on a per mode basis, not globally.") 1826Only set this on a per mode basis, not globally.")
1827(make-variable-buffer-local 'semantic-flex-enable-whitespace) 1827(make-variable-buffer-local 'semantic-flex-enable-whitespace)
diff --git a/lisp/cedet/semantic/sort.el b/lisp/cedet/semantic/sort.el
index 587d084701d..22826635986 100644
--- a/lisp/cedet/semantic/sort.el
+++ b/lisp/cedet/semantic/sort.el
@@ -453,7 +453,7 @@ has some sort of label defining a parent. The parent return will
453be a string. 453be a string.
454 454
455The default behavior, if not overridden with 455The default behavior, if not overridden with
456`tag-member-parent' gets the 'parent extra 456`tag-member-parent' gets the `parent' extra
457specifier of TAG. 457specifier of TAG.
458 458
459If this function is overridden, use 459If this function is overridden, use
diff --git a/lisp/cedet/semantic/symref.el b/lisp/cedet/semantic/symref.el
index 89e8b40632d..04684035ac0 100644
--- a/lisp/cedet/semantic/symref.el
+++ b/lisp/cedet/semantic/symref.el
@@ -101,7 +101,7 @@ If no tools are supported, then 'grep is assumed.")
101 101
102(defun semantic-symref-calculate-rootdir () 102(defun semantic-symref-calculate-rootdir ()
103 "Calculate the root directory for a symref search. 103 "Calculate the root directory for a symref search.
104Start with and EDE project, or use the default directory." 104Start with an EDE project, or use the default directory."
105 (let* ((rootproj (when (and (featurep 'ede) ede-minor-mode) 105 (let* ((rootproj (when (and (featurep 'ede) ede-minor-mode)
106 (ede-toplevel))) 106 (ede-toplevel)))
107 (rootdirbase (if rootproj 107 (rootdirbase (if rootproj
@@ -162,7 +162,7 @@ ARGS are the initialization arguments to pass to the created class."
162;;;###autoload 162;;;###autoload
163(defun semantic-symref-find-references-by-name (name &optional scope tool-return) 163(defun semantic-symref-find-references-by-name (name &optional scope tool-return)
164 "Find a list of references to NAME in the current project. 164 "Find a list of references to NAME in the current project.
165Optional SCOPE specifies which file set to search. Defaults to 'project. 165Optional SCOPE specifies which file set to search. Defaults to `project'.
166Refers to `semantic-symref-tool', to determine the reference tool to use 166Refers to `semantic-symref-tool', to determine the reference tool to use
167for the current buffer. 167for the current buffer.
168Returns an object of class `semantic-symref-result'. 168Returns an object of class `semantic-symref-result'.
@@ -186,7 +186,7 @@ to perform the search. This was added for use by a test harness."
186;;;###autoload 186;;;###autoload
187(defun semantic-symref-find-tags-by-name (name &optional scope) 187(defun semantic-symref-find-tags-by-name (name &optional scope)
188 "Find a list of tags by NAME in the current project. 188 "Find a list of tags by NAME in the current project.
189Optional SCOPE specifies which file set to search. Defaults to 'project. 189Optional SCOPE specifies which file set to search. Defaults to `project'.
190Refers to `semantic-symref-tool', to determine the reference tool to use 190Refers to `semantic-symref-tool', to determine the reference tool to use
191for the current buffer. 191for the current buffer.
192Returns an object of class `semantic-symref-result'." 192Returns an object of class `semantic-symref-result'."
@@ -206,7 +206,7 @@ Returns an object of class `semantic-symref-result'."
206;;;###autoload 206;;;###autoload
207(defun semantic-symref-find-tags-by-regexp (name &optional scope) 207(defun semantic-symref-find-tags-by-regexp (name &optional scope)
208 "Find a list of references to NAME in the current project. 208 "Find a list of references to NAME in the current project.
209Optional SCOPE specifies which file set to search. Defaults to 'project. 209Optional SCOPE specifies which file set to search. Defaults to `project'.
210Refers to `semantic-symref-tool', to determine the reference tool to use 210Refers to `semantic-symref-tool', to determine the reference tool to use
211for the current buffer. 211for the current buffer.
212Returns an object of class `semantic-symref-result'." 212Returns an object of class `semantic-symref-result'."
@@ -226,7 +226,7 @@ Returns an object of class `semantic-symref-result'."
226;;;###autoload 226;;;###autoload
227(defun semantic-symref-find-tags-by-completion (name &optional scope) 227(defun semantic-symref-find-tags-by-completion (name &optional scope)
228 "Find a list of references to NAME in the current project. 228 "Find a list of references to NAME in the current project.
229Optional SCOPE specifies which file set to search. Defaults to 'project. 229Optional SCOPE specifies which file set to search. Defaults to `project'.
230Refers to `semantic-symref-tool', to determine the reference tool to use 230Refers to `semantic-symref-tool', to determine the reference tool to use
231for the current buffer. 231for the current buffer.
232Returns an object of class `semantic-symref-result'." 232Returns an object of class `semantic-symref-result'."
@@ -246,7 +246,7 @@ Returns an object of class `semantic-symref-result'."
246;;;###autoload 246;;;###autoload
247(defun semantic-symref-find-file-references-by-name (name &optional scope) 247(defun semantic-symref-find-file-references-by-name (name &optional scope)
248 "Find a list of references to NAME in the current project. 248 "Find a list of references to NAME in the current project.
249Optional SCOPE specifies which file set to search. Defaults to 'project. 249Optional SCOPE specifies which file set to search. Defaults to `project'.
250Refers to `semantic-symref-tool', to determine the reference tool to use 250Refers to `semantic-symref-tool', to determine the reference tool to use
251for the current buffer. 251for the current buffer.
252Returns an object of class `semantic-symref-result'." 252Returns an object of class `semantic-symref-result'."
@@ -267,7 +267,7 @@ Returns an object of class `semantic-symref-result'."
267(defun semantic-symref-find-text (text &optional scope) 267(defun semantic-symref-find-text (text &optional scope)
268 "Find a list of occurrences of TEXT in the current project. 268 "Find a list of occurrences of TEXT in the current project.
269TEXT is a regexp formatted for use with egrep. 269TEXT is a regexp formatted for use with egrep.
270Optional SCOPE specifies which file set to search. Defaults to 'project. 270Optional SCOPE specifies which file set to search. Defaults to `project'.
271Refers to `semantic-symref-tool', to determine the reference tool to use 271Refers to `semantic-symref-tool', to determine the reference tool to use
272for the current buffer. 272for the current buffer.
273Returns an object of class `semantic-symref-result'." 273Returns an object of class `semantic-symref-result'."
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el
index 34fc8ba92ce..f53f5d201be 100644
--- a/lisp/cedet/semantic/tag.el
+++ b/lisp/cedet/semantic/tag.el
@@ -375,7 +375,7 @@ Optional argument IGNORABLE-ATTRIBUTES is passed down to
375 375
376(defun semantic-tag-of-type-p (tag type) 376(defun semantic-tag-of-type-p (tag type)
377 "Compare TAG's type against TYPE. Non nil if equivalent. 377 "Compare TAG's type against TYPE. Non nil if equivalent.
378TYPE can be a string, or a tag of class 'type. 378TYPE can be a string, or a tag of class `type'.
379This can be complex since some tags might have a :type that is a tag, 379This can be complex since some tags might have a :type that is a tag,
380while other tags might just have a string. This function will also be 380while other tags might just have a string. This function will also be
381return true of TAG's type is compared directly to the declaration of a 381return true of TAG's type is compared directly to the declaration of a
@@ -462,12 +462,12 @@ pairs eliminated:
462 "Create a generic semantic tag. 462 "Create a generic semantic tag.
463NAME is a string representing the name of this tag. 463NAME is a string representing the name of this tag.
464CLASS is the symbol that represents the class of tag this is, 464CLASS is the symbol that represents the class of tag this is,
465such as 'variable, or 'function. 465such as `variable', or `function'.
466ATTRIBUTES is a list of additional attributes belonging to this tag." 466ATTRIBUTES is a list of additional attributes belonging to this tag."
467 (list name class (semantic-tag-make-plist attributes) nil nil)) 467 (list name class (semantic-tag-make-plist attributes) nil nil))
468 468
469(defsubst semantic-tag-new-variable (name type &optional default-value &rest attributes) 469(defsubst semantic-tag-new-variable (name type &optional default-value &rest attributes)
470 "Create a semantic tag of class 'variable. 470 "Create a semantic tag of class `variable'.
471NAME is the name of this variable. 471NAME is the name of this variable.
472TYPE is a string or semantic tag representing the type of this variable. 472TYPE is a string or semantic tag representing the type of this variable.
473Optional DEFAULT-VALUE is a string representing the default value of this 473Optional DEFAULT-VALUE is a string representing the default value of this
@@ -479,7 +479,7 @@ tag."
479 attributes)) 479 attributes))
480 480
481(defsubst semantic-tag-new-function (name type arg-list &rest attributes) 481(defsubst semantic-tag-new-function (name type arg-list &rest attributes)
482 "Create a semantic tag of class 'function. 482 "Create a semantic tag of class `function'.
483NAME is the name of this function. 483NAME is the name of this function.
484TYPE is a string or semantic tag representing the type of this function. 484TYPE is a string or semantic tag representing the type of this function.
485ARG-LIST is a list of strings or semantic tags representing the 485ARG-LIST is a list of strings or semantic tags representing the
@@ -491,7 +491,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
491 attributes)) 491 attributes))
492 492
493(defsubst semantic-tag-new-type (name type members parents &rest attributes) 493(defsubst semantic-tag-new-type (name type members parents &rest attributes)
494 "Create a semantic tag of class 'type. 494 "Create a semantic tag of class `type'.
495NAME is the name of this type. 495NAME is the name of this type.
496TYPE is a string or semantic tag representing the type of this type. 496TYPE is a string or semantic tag representing the type of this type.
497MEMBERS is a list of strings or semantic tags representing the 497MEMBERS is a list of strings or semantic tags representing the
@@ -516,7 +516,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
516 attributes)) 516 attributes))
517 517
518(defsubst semantic-tag-new-include (name system-flag &rest attributes) 518(defsubst semantic-tag-new-include (name system-flag &rest attributes)
519 "Create a semantic tag of class 'include. 519 "Create a semantic tag of class `include'.
520NAME is the name of this include. 520NAME is the name of this include.
521SYSTEM-FLAG represents that we were able to identify this include as belonging 521SYSTEM-FLAG represents that we were able to identify this include as belonging
522to the system, as opposed to belonging to the local project. 522to the system, as opposed to belonging to the local project.
@@ -526,7 +526,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
526 attributes)) 526 attributes))
527 527
528(defsubst semantic-tag-new-package (name detail &rest attributes) 528(defsubst semantic-tag-new-package (name detail &rest attributes)
529 "Create a semantic tag of class 'package. 529 "Create a semantic tag of class `package'.
530NAME is the name of this package. 530NAME is the name of this package.
531DETAIL is extra information about this package, such as a location where 531DETAIL is extra information about this package, such as a location where
532it can be found. 532it can be found.
@@ -536,7 +536,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
536 attributes)) 536 attributes))
537 537
538(defsubst semantic-tag-new-code (name detail &rest attributes) 538(defsubst semantic-tag-new-code (name detail &rest attributes)
539 "Create a semantic tag of class 'code. 539 "Create a semantic tag of class `code'.
540NAME is a name for this code. 540NAME is a name for this code.
541DETAIL is extra information about the code. 541DETAIL is extra information about the code.
542ATTRIBUTES is a list of additional attributes belonging to this tag." 542ATTRIBUTES is a list of additional attributes belonging to this tag."
@@ -823,7 +823,7 @@ in SUPERS."
823(defun semantic-tag-type-superclass-protection (tag parentstring) 823(defun semantic-tag-type-superclass-protection (tag parentstring)
824 "Return the inheritance protection in TAG from PARENTSTRING. 824 "Return the inheritance protection in TAG from PARENTSTRING.
825PARENTSTRING is the name of the parent being inherited. 825PARENTSTRING is the name of the parent being inherited.
826The return protection is a symbol, 'public, 'protection, and 'private." 826The return protection is a symbol, `public', `protection', and `private'."
827 (let ((supers (semantic-tag-get-attribute tag :superclasses))) 827 (let ((supers (semantic-tag-get-attribute tag :superclasses)))
828 (cond ((stringp supers) 828 (cond ((stringp supers)
829 'public) 829 'public)
@@ -946,7 +946,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag."
946The returned value is a tag of the class that 946The returned value is a tag of the class that
947`semantic-tag-alias-class' returns for TAG. 947`semantic-tag-alias-class' returns for TAG.
948The default is to return the value of the :definition attribute. 948The default is to return the value of the :definition attribute.
949Return nil if TAG is not of class 'alias." 949Return nil if TAG is not of class `alias'."
950 (when (semantic-tag-of-class-p tag 'alias) 950 (when (semantic-tag-of-class-p tag 'alias)
951 (:override 951 (:override
952 (semantic-tag-get-attribute tag :definition)))) 952 (semantic-tag-get-attribute tag :definition))))
@@ -958,8 +958,8 @@ Return nil if TAG is not of class 'alias."
958 "Return a list of components for TAG. 958 "Return a list of components for TAG.
959A Component is a part of TAG which itself may be a TAG. 959A Component is a part of TAG which itself may be a TAG.
960Examples include the elements of a structure in a 960Examples include the elements of a structure in a
961tag of class 'type, or the list of arguments to a 961tag of class `type', or the list of arguments to a
962tag of class 'function." 962tag of class `function'."
963 ) 963 )
964 964
965(defun semantic-tag-components-default (tag) 965(defun semantic-tag-components-default (tag)