diff options
| author | Paul Eggert | 2015-02-21 20:00:16 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-02-21 20:01:05 -0800 |
| commit | 14b4e657e2fd647153b336c61a220acedda8454c (patch) | |
| tree | 47791e6fdda122dfa30768827da6151906c2350e /lisp/cedet | |
| parent | 1cb34285463d2b9050a031a7f9a53d376de5b489 (diff) | |
| download | emacs-14b4e657e2fd647153b336c61a220acedda8454c.tar.gz emacs-14b4e657e2fd647153b336c61a220acedda8454c.zip | |
Spelling fixes
* lisp/cedet/semantic/doc.el (semantic-documentation-comment-preceding-tag):
Rename from semantic-documentation-comment-preceeding-tag. All
uses changed. Leave an obsolete alias behind.
* src/lisp.h (DEFINE_NON_NIL_Q_SYMBOL_MACROS):
Rename from DEFINE_NONNIL_Q_SYMBOL_MACROS. All uses changed.
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/cedet/semantic/doc.el | 9 | ||||
| -rw-r--r-- | lisp/cedet/srecode/document.el | 2 |
3 files changed, 14 insertions, 4 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 838a2693491..c9ddc382d50 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2015-02-22 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Spelling fixes | ||
| 4 | * semantic/doc.el (semantic-documentation-comment-preceding-tag): | ||
| 5 | Rename from semantic-documentation-comment-preceeding-tag. All | ||
| 6 | uses changed. Leave an obsolete alias behind. | ||
| 7 | |||
| 1 | 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * semantic/db-el.el (semanticdb-elisp-sym->tag): Fix copy&paste error | 10 | * semantic/db-el.el (semanticdb-elisp-sym->tag): Fix copy&paste error |
diff --git a/lisp/cedet/semantic/doc.el b/lisp/cedet/semantic/doc.el index 874763f0a7f..3ceb3510ad2 100644 --- a/lisp/cedet/semantic/doc.el +++ b/lisp/cedet/semantic/doc.el | |||
| @@ -56,13 +56,12 @@ If nosnarf if 'lex, then only return the lex token." | |||
| 56 | doctmp | 56 | doctmp |
| 57 | ;; Check just before the definition. | 57 | ;; Check just before the definition. |
| 58 | (when (semantic-tag-with-position-p tag) | 58 | (when (semantic-tag-with-position-p tag) |
| 59 | (semantic-documentation-comment-preceeding-tag tag nosnarf)) | 59 | (semantic-documentation-comment-preceding-tag tag nosnarf)) |
| 60 | ;; Let's look for comments either after the definition, but before code: | 60 | ;; Let's look for comments either after the definition, but before code: |
| 61 | ;; Not sure yet. Fill in something clever later.... | 61 | ;; Not sure yet. Fill in something clever later.... |
| 62 | nil)))))) | 62 | nil)))))) |
| 63 | 63 | ||
| 64 | ;; FIXME this is not how you spell "preceding". | 64 | (defun semantic-documentation-comment-preceding-tag (&optional tag nosnarf) |
| 65 | (defun semantic-documentation-comment-preceeding-tag (&optional tag nosnarf) | ||
| 66 | "Find a comment preceding TAG. | 65 | "Find a comment preceding TAG. |
| 67 | If TAG is nil. use the tag under point. | 66 | If TAG is nil. use the tag under point. |
| 68 | Searches the space between TAG and the preceding tag for a comment, | 67 | Searches the space between TAG and the preceding tag for a comment, |
| @@ -84,6 +83,10 @@ just the lexical token and not the string." | |||
| 84 | ;; of a function. | 83 | ;; of a function. |
| 85 | (semantic-doc-snarf-comment-for-tag nosnarf))) | 84 | (semantic-doc-snarf-comment-for-tag nosnarf))) |
| 86 | )) | 85 | )) |
| 86 | (define-obsolete-function-alias | ||
| 87 | 'semantic-documentation-comment-preceeding-tag | ||
| 88 | 'semantic-documentation-comment-preceding-tag | ||
| 89 | "25.1") | ||
| 87 | 90 | ||
| 88 | (defun semantic-doc-snarf-comment-for-tag (nosnarf) | 91 | (defun semantic-doc-snarf-comment-for-tag (nosnarf) |
| 89 | "Snarf up the comment at POINT for `semantic-documentation-for-tag'. | 92 | "Snarf up the comment at POINT for `semantic-documentation-for-tag'. |
diff --git a/lisp/cedet/srecode/document.el b/lisp/cedet/srecode/document.el index 9f106a40660..47577844c74 100644 --- a/lisp/cedet/srecode/document.el +++ b/lisp/cedet/srecode/document.el | |||
| @@ -395,7 +395,7 @@ It is assumed that the comment occurs just in front of FCN-IN." | |||
| 395 | (beginning-of-line) | 395 | (beginning-of-line) |
| 396 | (forward-char -1) | 396 | (forward-char -1) |
| 397 | 397 | ||
| 398 | (let ((lextok (semantic-documentation-comment-preceeding-tag fcn-in 'lex)) | 398 | (let ((lextok (semantic-documentation-comment-preceding-tag fcn-in 'lex)) |
| 399 | (doctext | 399 | (doctext |
| 400 | (srecode-document-function-name-comment fcn-in)) | 400 | (srecode-document-function-name-comment fcn-in)) |
| 401 | ) | 401 | ) |