diff options
| author | Paul Eggert | 2012-10-04 22:57:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-10-04 22:57:24 -0700 |
| commit | 735135f9bc3c01b91ffef7c418dd9281bc347ab7 (patch) | |
| tree | 94c73a545a14f064a9e30559089769f60dfbbf34 /lisp/cedet | |
| parent | be636386220e8a73b57b03572c625fa92bcf199a (diff) | |
| download | emacs-735135f9bc3c01b91ffef7c418dd9281bc347ab7.tar.gz emacs-735135f9bc3c01b91ffef7c418dd9281bc347ab7.zip | |
Spelling fixes.
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/ede.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/ede/auto.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/ede/autoconf-edit.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/inversion.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/c.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/semantic/complete.el | 3 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-global.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-typecache.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/decorate/include.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/fw.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/semantic/lex-spp.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/symref/filter.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/tag-ls.el | 10 | ||||
| -rw-r--r-- | lisp/cedet/semantic/tag.el | 4 |
14 files changed, 23 insertions, 24 deletions
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el index ce3536d53ee..22fe362d5d9 100644 --- a/lisp/cedet/ede.el +++ b/lisp/cedet/ede.el | |||
| @@ -1358,13 +1358,13 @@ Return the first non-nil value returned by PROC." | |||
| 1358 | (defmethod ede-system-include-path ((this ede-project)) | 1358 | (defmethod ede-system-include-path ((this ede-project)) |
| 1359 | "Get the system include path used by project THIS." | 1359 | "Get the system include path used by project THIS." |
| 1360 | nil) | 1360 | nil) |
| 1361 | 1361 | ||
| 1362 | (defmethod ede-system-include-path ((this ede-target)) | 1362 | (defmethod ede-system-include-path ((this ede-target)) |
| 1363 | "Get the system include path used by project THIS." | 1363 | "Get the system include path used by project THIS." |
| 1364 | nil) | 1364 | nil) |
| 1365 | 1365 | ||
| 1366 | (defmethod ede-source-paths ((this ede-project) mode) | 1366 | (defmethod ede-source-paths ((this ede-project) mode) |
| 1367 | "Get the base to all source trees in the current projet for MODE. | 1367 | "Get the base to all source trees in the current project for MODE. |
| 1368 | For example, <root>/src for sources of c/c++, Java, etc, | 1368 | For example, <root>/src for sources of c/c++, Java, etc, |
| 1369 | and <root>/doc for doc sources." | 1369 | and <root>/doc for doc sources." |
| 1370 | nil) | 1370 | nil) |
diff --git a/lisp/cedet/ede/auto.el b/lisp/cedet/ede/auto.el index f6446db9108..152f8130ad7 100644 --- a/lisp/cedet/ede/auto.el +++ b/lisp/cedet/ede/auto.el | |||
| @@ -68,7 +68,7 @@ into memory.") | |||
| 68 | 68 | ||
| 69 | ;; Add new types of dirmatches here. | 69 | ;; Add new types of dirmatches here. |
| 70 | 70 | ||
| 71 | ;; Error for wierd stuff | 71 | ;; Error for weird stuff |
| 72 | (t (error "Unknown dirmatch type."))))) | 72 | (t (error "Unknown dirmatch type."))))) |
| 73 | 73 | ||
| 74 | 74 | ||
| @@ -285,7 +285,7 @@ the current buffer." | |||
| 285 | ;; If this file DOES NOT match dirmatch, we set the callfcn | 285 | ;; If this file DOES NOT match dirmatch, we set the callfcn |
| 286 | ;; to nil, meaning don't load the ede support file for this | 286 | ;; to nil, meaning don't load the ede support file for this |
| 287 | ;; type of project. If it does match, we will load the file | 287 | ;; type of project. If it does match, we will load the file |
| 288 | ;; and use a more accurate programatic match from there. | 288 | ;; and use a more accurate programmatic match from there. |
| 289 | (unless (ede-project-dirmatch-p file dirmatch) | 289 | (unless (ede-project-dirmatch-p file dirmatch) |
| 290 | (setq callfcn nil)))) | 290 | (setq callfcn nil)))) |
| 291 | ;; Call into the project support file for a match. | 291 | ;; Call into the project support file for a match. |
diff --git a/lisp/cedet/ede/autoconf-edit.el b/lisp/cedet/ede/autoconf-edit.el index 8144b135ac5..ebfb4154d81 100644 --- a/lisp/cedet/ede/autoconf-edit.el +++ b/lisp/cedet/ede/autoconf-edit.el | |||
| @@ -165,7 +165,7 @@ items such as CHECK_HEADERS." | |||
| 165 | (setq param (substring param (match-end 0)))) | 165 | (setq param (substring param (match-end 0)))) |
| 166 | (when (string-match "\\s-*\\]?\\s-*\\'" param) | 166 | (when (string-match "\\s-*\\]?\\s-*\\'" param) |
| 167 | (setq param (substring param 0 (match-beginning 0)))) | 167 | (setq param (substring param 0 (match-beginning 0)))) |
| 168 | ;; Look for occurances of backslash newline | 168 | ;; Look for occurrences of backslash newline |
| 169 | (while (string-match "\\s-*\\\\\\s-*\n\\s-*" param) | 169 | (while (string-match "\\s-*\\\\\\s-*\n\\s-*" param) |
| 170 | (setq param (replace-match " " t t param))) | 170 | (setq param (replace-match " " t t param))) |
| 171 | param) | 171 | param) |
diff --git a/lisp/cedet/inversion.el b/lisp/cedet/inversion.el index 6a13a12e8e1..6b0f007916b 100644 --- a/lisp/cedet/inversion.el +++ b/lisp/cedet/inversion.el | |||
| @@ -348,7 +348,7 @@ Optional argument RESERVED is saved for later use." | |||
| 348 | 348 | ||
| 349 | ;;;###autoload | 349 | ;;;###autoload |
| 350 | (defun inversion-require-emacs (emacs-ver xemacs-ver sxemacs-ver) | 350 | (defun inversion-require-emacs (emacs-ver xemacs-ver sxemacs-ver) |
| 351 | "Declare that you need either EMACS-VER, XEMACS-VER or SXEMACE-ver. | 351 | "Declare that you need either EMACS-VER, XEMACS-VER or SXEMACS-ver. |
| 352 | Only checks one based on which kind of Emacs is being run." | 352 | Only checks one based on which kind of Emacs is being run." |
| 353 | (let ((err (inversion-test 'emacs | 353 | (let ((err (inversion-test 'emacs |
| 354 | (cond ((featurep 'sxemacs) | 354 | (cond ((featurep 'sxemacs) |
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el index 871bcdd6176..02ad6e05d1a 100644 --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el | |||
| @@ -390,7 +390,7 @@ Pulls out the symbol list, and call `semantic-c-convert-spp-value-to-hideif-valu | |||
| 390 | ;; can then interpret. | 390 | ;; can then interpret. |
| 391 | (let ((stream (semantic-lex-spp-symbol-stream spp-symbol))) | 391 | (let ((stream (semantic-lex-spp-symbol-stream spp-symbol))) |
| 392 | (cond | 392 | (cond |
| 393 | ;; Empyt string means defined, so t. | 393 | ;; Empty string means defined, so t. |
| 394 | ((null stream) t) | 394 | ((null stream) t) |
| 395 | ;; A list means a parsed macro stream. | 395 | ;; A list means a parsed macro stream. |
| 396 | ((listp stream) | 396 | ((listp stream) |
| @@ -515,7 +515,7 @@ code to parse." | |||
| 515 | ;; should be skipped. | 515 | ;; should be skipped. |
| 516 | (semantic-c-skip-conditional-section) | 516 | (semantic-c-skip-conditional-section) |
| 517 | (setq semantic-lex-end-point (point)) | 517 | (setq semantic-lex-end-point (point)) |
| 518 | 518 | ||
| 519 | ;; @TODO -somewhere around here, we also need to skip | 519 | ;; @TODO -somewhere around here, we also need to skip |
| 520 | ;; other sections of the conditional. | 520 | ;; other sections of the conditional. |
| 521 | 521 | ||
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index f666491d667..61760dd3fe8 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el | |||
| @@ -1555,7 +1555,7 @@ number of completions initially. Pressing TAB will show the | |||
| 1555 | extended set. | 1555 | extended set. |
| 1556 | 1556 | ||
| 1557 | Quiet: Only show completions when we have narrowed all | 1557 | Quiet: Only show completions when we have narrowed all |
| 1558 | posibilities down to a maximum of | 1558 | possibilities down to a maximum of |
| 1559 | `semantic-displayor-tooltip-initial-max-tags' tags. Pressing TAB | 1559 | `semantic-displayor-tooltip-initial-max-tags' tags. Pressing TAB |
| 1560 | multiple times will also show completions. | 1560 | multiple times will also show completions. |
| 1561 | 1561 | ||
| @@ -2239,4 +2239,3 @@ will perform the completion." | |||
| 2239 | ;; End: | 2239 | ;; End: |
| 2240 | 2240 | ||
| 2241 | ;;; semantic/complete.el ends here | 2241 | ;;; semantic/complete.el ends here |
| 2242 | |||
diff --git a/lisp/cedet/semantic/db-global.el b/lisp/cedet/semantic/db-global.el index 0d144483cb9..a7bb130810e 100644 --- a/lisp/cedet/semantic/db-global.el +++ b/lisp/cedet/semantic/db-global.el | |||
| @@ -48,7 +48,7 @@ in a GNU Global supported hierarchy. | |||
| 48 | Two sanity checks are performed to assure (a) that GNU global program exists | 48 | Two sanity checks are performed to assure (a) that GNU global program exists |
| 49 | and (b) that the GNU global program version is compatibility with the database | 49 | and (b) that the GNU global program version is compatibility with the database |
| 50 | version. If optional NOERROR is nil, then an error may be signalled on version | 50 | version. If optional NOERROR is nil, then an error may be signalled on version |
| 51 | mismatch. If NOERROR is not nil, then no error will be signlled. Instead | 51 | mismatch. If NOERROR is not nil, then no error will be signaled. Instead |
| 52 | return value will indicate success or failure with non-nil or nil respective | 52 | return value will indicate success or failure with non-nil or nil respective |
| 53 | values." | 53 | values." |
| 54 | (interactive | 54 | (interactive |
diff --git a/lisp/cedet/semantic/db-typecache.el b/lisp/cedet/semantic/db-typecache.el index 94999a2797b..0da98a6d357 100644 --- a/lisp/cedet/semantic/db-typecache.el +++ b/lisp/cedet/semantic/db-typecache.el | |||
| @@ -584,7 +584,7 @@ If there isn't one, create it. | |||
| 584 | (dolist (P path) | 584 | (dolist (P path) |
| 585 | (condition-case nil | 585 | (condition-case nil |
| 586 | (oset P pointmax nil) | 586 | (oset P pointmax nil) |
| 587 | ;; Pointmax may not exist for all tables disovered in the | 587 | ;; Pointmax may not exist for all tables discovered in the |
| 588 | ;; path. | 588 | ;; path. |
| 589 | (error nil)) | 589 | (error nil)) |
| 590 | (semantic-reset (semanticdb-get-typecache P))))) | 590 | (semantic-reset (semanticdb-get-typecache P))))) |
diff --git a/lisp/cedet/semantic/decorate/include.el b/lisp/cedet/semantic/decorate/include.el index ede5c890163..0c2c5e3ce37 100644 --- a/lisp/cedet/semantic/decorate/include.el +++ b/lisp/cedet/semantic/decorate/include.el | |||
| @@ -589,7 +589,7 @@ This means that Semantic cannot find a file associated with this tag | |||
| 589 | on disk, but a database table of tags has been associated with it. | 589 | on disk, but a database table of tags has been associated with it. |
| 590 | 590 | ||
| 591 | This means that the include will still be used to find tags for | 591 | This means that the include will still be used to find tags for |
| 592 | searches, but you connot visit this include.\n\n") | 592 | searches, but you cannot visit this include.\n\n") |
| 593 | (princ "This Header is now represented by the following database table:\n\n ") | 593 | (princ "This Header is now represented by the following database table:\n\n ") |
| 594 | (princ (object-print table)) | 594 | (princ (object-print table)) |
| 595 | ))) | 595 | ))) |
diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el index c14ffb77169..5a12047eb76 100644 --- a/lisp/cedet/semantic/fw.el +++ b/lisp/cedet/semantic/fw.el | |||
| @@ -85,7 +85,7 @@ | |||
| 85 | c))) | 85 | c))) |
| 86 | event)) | 86 | event)) |
| 87 | (defun semantic-popup-menu (menu) | 87 | (defun semantic-popup-menu (menu) |
| 88 | "Blockinig version of `popup-menu'" | 88 | "Blocking version of `popup-menu'" |
| 89 | (popup-menu menu) | 89 | (popup-menu menu) |
| 90 | ;; Wait... | 90 | ;; Wait... |
| 91 | (while (popup-up-p) (dispatch-event (next-event)))) | 91 | (while (popup-up-p) (dispatch-event (next-event)))) |
| @@ -139,7 +139,7 @@ | |||
| 139 | 'run-mode-hooks | 139 | 'run-mode-hooks |
| 140 | 'run-hooks)) | 140 | 'run-hooks)) |
| 141 | 141 | ||
| 142 | ;; Fancy compat useage now handled in cedet-compat | 142 | ;; Fancy compat usage now handled in cedet-compat |
| 143 | (defalias 'semantic-subst-char-in-string 'subst-char-in-string) | 143 | (defalias 'semantic-subst-char-in-string 'subst-char-in-string) |
| 144 | ) | 144 | ) |
| 145 | 145 | ||
diff --git a/lisp/cedet/semantic/lex-spp.el b/lisp/cedet/semantic/lex-spp.el index 5fe900452a0..406f2900563 100644 --- a/lisp/cedet/semantic/lex-spp.el +++ b/lisp/cedet/semantic/lex-spp.el | |||
| @@ -646,7 +646,7 @@ be merged recursively." | |||
| 646 | ;; #define FOO(a) foo##a##bar | 646 | ;; #define FOO(a) foo##a##bar |
| 647 | (semantic-lex-spp-symbol-merge (cadr tok))) | 647 | (semantic-lex-spp-symbol-merge (cadr tok))) |
| 648 | (t | 648 | (t |
| 649 | (message "Invalid merge macro ecountered; \ | 649 | (message "Invalid merge macro encountered; \ |
| 650 | will return empty string instead.") | 650 | will return empty string instead.") |
| 651 | ""))) | 651 | ""))) |
| 652 | txt | 652 | txt |
diff --git a/lisp/cedet/semantic/symref/filter.el b/lisp/cedet/semantic/symref/filter.el index c294fd1727e..c6aa48bfbc3 100644 --- a/lisp/cedet/semantic/symref/filter.el +++ b/lisp/cedet/semantic/symref/filter.el | |||
| @@ -101,7 +101,7 @@ tag that contains point, and return that." | |||
| 101 | (semantic-tag-start tag) | 101 | (semantic-tag-start tag) |
| 102 | (semantic-tag-end tag)) | 102 | (semantic-tag-end tag)) |
| 103 | (when (called-interactively-p 'interactive) | 103 | (when (called-interactively-p 'interactive) |
| 104 | (message "Found %d occurances of %s in %.2f seconds" | 104 | (message "Found %d occurrences of %s in %.2f seconds" |
| 105 | Lcount (semantic-tag-name target) | 105 | Lcount (semantic-tag-name target) |
| 106 | (semantic-elapsed-time start (current-time)))) | 106 | (semantic-elapsed-time start (current-time)))) |
| 107 | Lcount))) | 107 | Lcount))) |
diff --git a/lisp/cedet/semantic/tag-ls.el b/lisp/cedet/semantic/tag-ls.el index d6d2c203aa8..094ea554287 100644 --- a/lisp/cedet/semantic/tag-ls.el +++ b/lisp/cedet/semantic/tag-ls.el | |||
| @@ -66,7 +66,7 @@ have values, they must still match." | |||
| 66 | 66 | ||
| 67 | (define-overloadable-function semantic--tag-similar-types-p (tag1 tag2) | 67 | (define-overloadable-function semantic--tag-similar-types-p (tag1 tag2) |
| 68 | "Compare the types of TAG1 and TAG2. | 68 | "Compare the types of TAG1 and TAG2. |
| 69 | This functions can be overriden, for example to compare a fully | 69 | This function can be overridden, for example to compare a fully |
| 70 | qualified with an unqualified type." | 70 | qualified with an unqualified type." |
| 71 | (cond | 71 | (cond |
| 72 | ((and (null (semantic-tag-type tag1)) | 72 | ((and (null (semantic-tag-type tag1)) |
| @@ -80,7 +80,7 @@ qualified with an unqualified type." | |||
| 80 | 80 | ||
| 81 | (defun semantic--tag-similar-types-p-default (tag1 tag2) | 81 | (defun semantic--tag-similar-types-p-default (tag1 tag2) |
| 82 | "Compare the types of TAG1 and TAG2. | 82 | "Compare the types of TAG1 and TAG2. |
| 83 | This functions can be overriden, for example to compare a fully | 83 | This function can be overridden, for example to compare a fully |
| 84 | qualified with an unqualified type." | 84 | qualified with an unqualified type." |
| 85 | (semantic-tag-of-type-p tag1 (semantic-tag-type tag2))) | 85 | (semantic-tag-of-type-p tag1 (semantic-tag-type tag2))) |
| 86 | 86 | ||
| @@ -97,7 +97,7 @@ Modes that override this function can call `semantic--tag-attribute-similar-p-de | |||
| 97 | to do the default equality tests if ATTR is not special for that mode.") | 97 | to do the default equality tests if ATTR is not special for that mode.") |
| 98 | 98 | ||
| 99 | (defun semantic--tag-attribute-similar-p-default (attr value1 value2 ignorable-attributes) | 99 | (defun semantic--tag-attribute-similar-p-default (attr value1 value2 ignorable-attributes) |
| 100 | "For ATTR, VALUE1, VALUE2 and IGNORABLE-ATTRIBUTES, test for similarness." | 100 | "For ATTR, VALUE1, VALUE2 and IGNORABLE-ATTRIBUTES, test for similarity." |
| 101 | (cond | 101 | (cond |
| 102 | ;; Tag sublists require special testing. | 102 | ;; Tag sublists require special testing. |
| 103 | ((and (listp value1) (semantic-tag-p (car value1)) | 103 | ((and (listp value1) (semantic-tag-p (car value1)) |
| @@ -131,7 +131,7 @@ Similar tags that have sub-tags such as arg lists or type members, | |||
| 131 | are similar w/out checking the sub-list of tags. | 131 | are similar w/out checking the sub-list of tags. |
| 132 | Optional argument IGNORABLE-ATTRIBUTES are attributes to ignore while comparing similarity. | 132 | Optional argument IGNORABLE-ATTRIBUTES are attributes to ignore while comparing similarity. |
| 133 | By default, `semantic-tag-similar-ignorable-attributes' is referenced for | 133 | By default, `semantic-tag-similar-ignorable-attributes' is referenced for |
| 134 | attributes, and IGNOREABLE-ATTRIBUTES will augment this list. | 134 | attributes, and IGNORABLE-ATTRIBUTES will augment this list. |
| 135 | 135 | ||
| 136 | Note that even though :name is not an attribute, it can be used to | 136 | Note that even though :name is not an attribute, it can be used to |
| 137 | to indicate lax comparison of names via `semantic--tag-similar-names-p'") | 137 | to indicate lax comparison of names via `semantic--tag-similar-names-p'") |
| @@ -207,7 +207,7 @@ Return the name of the first tag of class `package' in STREAM." | |||
| 207 | 207 | ||
| 208 | (define-overloadable-function semantic-tag-full-name (tag &optional stream-or-buffer) | 208 | (define-overloadable-function semantic-tag-full-name (tag &optional stream-or-buffer) |
| 209 | "Return the fully qualified name of TAG in the package hierarchy. | 209 | "Return the fully qualified name of TAG in the package hierarchy. |
| 210 | STREAM-OR-BUFFER can be anything convertable by `semantic-something-to-stream', | 210 | STREAM-OR-BUFFER can be anything convertible by `semantic-something-to-stream', |
| 211 | but must be a toplevel semantic tag stream that contains TAG. | 211 | but must be a toplevel semantic tag stream that contains TAG. |
| 212 | A Package Hierarchy is defined in UML by the way classes and methods | 212 | A Package Hierarchy is defined in UML by the way classes and methods |
| 213 | are organized on disk. Some languages use this concept such that a | 213 | are organized on disk. Some languages use this concept such that a |
diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el index 08fe467b367..38166871cea 100644 --- a/lisp/cedet/semantic/tag.el +++ b/lisp/cedet/semantic/tag.el | |||
| @@ -554,7 +554,7 @@ You can identify a faux tag with `semantic-tag-faux-p'" | |||
| 554 | "Set TAG name to NAME." | 554 | "Set TAG name to NAME." |
| 555 | (setcar tag name)) | 555 | (setcar tag name)) |
| 556 | 556 | ||
| 557 | ;;; TAG Proxys | 557 | ;;; TAG Proxies |
| 558 | ;; | 558 | ;; |
| 559 | ;; A new kind of tag is a TAG PROXY. These are tags that have some | 559 | ;; A new kind of tag is a TAG PROXY. These are tags that have some |
| 560 | ;; minimal number of features set, such as name and class, but have a | 560 | ;; minimal number of features set, such as name and class, but have a |
| @@ -570,7 +570,7 @@ two arguments, DATA and TAG. TAG is a proxy tag that needs | |||
| 570 | to be resolved, and DATA is the DATA passed into this function. | 570 | to be resolved, and DATA is the DATA passed into this function. |
| 571 | DATA is data to help resolve the proxy. DATA can be an EIEIO object, | 571 | DATA is data to help resolve the proxy. DATA can be an EIEIO object, |
| 572 | such that FUNCTION is a method. | 572 | such that FUNCTION is a method. |
| 573 | FUNCTION should return a list of tags, preferrably one tag." | 573 | FUNCTION should return a list of tags, preferably one tag." |
| 574 | (let ((sym (make-symbol ":tag-proxy"))) | 574 | (let ((sym (make-symbol ":tag-proxy"))) |
| 575 | (put sym 'proxy-function function) | 575 | (put sym 'proxy-function function) |
| 576 | (put sym 'proxy-data data) | 576 | (put sym 'proxy-data data) |