]> code.delx.au - gnu-emacs/commitdiff
Spelling fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Feb 2015 04:00:16 +0000 (20:00 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Feb 2015 04:01:05 +0000 (20:01 -0800)
* 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.

13 files changed:
doc/misc/auth.texi
lib-src/make-docfile.c
lisp/ChangeLog
lisp/cedet/ChangeLog
lisp/cedet/semantic/doc.el
lisp/cedet/srecode/document.el
lisp/emacs-lisp/package.el
lisp/gnus/ChangeLog
lisp/org/ChangeLog
src/ChangeLog
src/lisp.h
test/automated/vc-tests.el
test/cedet/srecode-tests.el

index 7c0254a9a3a471ff225a0ac96604ba91fa02df66..8dbde4d5ea014449fc901ca0eb192ef52f04a4a6 100644 (file)
@@ -247,8 +247,8 @@ names:
 Your netrc entries will then be:
 
 @example
-machine gmail login account@@gmail.com password "accountpassword" port imap
-machine gmail2 login account2@@gmail.com password "account2password" port imap
+machine gmail login account@@gmail.com password "account password" port imap
+machine gmail2 login account2@@gmail.com password "account2 password" port imap
 @end example
 
 @node Secret Service API
index a7943e3118cad4fc952a43d62f2d49e1f083a7f0..bada8df9f72de78968fc52aa57d1e64b058baf42 100644 (file)
@@ -743,7 +743,7 @@ write_globals (void)
   puts ("#endif");
 
   puts ("#define Qnil builtin_lisp_symbol (0)");
-  puts ("#if DEFINE_NONNIL_Q_SYMBOL_MACROS");
+  puts ("#if DEFINE_NON_NIL_Q_SYMBOL_MACROS");
   num_symbols = 0;
   for (int i = 0; i < num_globals; i++)
     if (globals[i].type == SYMBOL && num_symbols++ != 0)
index b78dd7920ae61cd7aaeaa05040e99ec32918c680..a583d7c58e892d285c5d9e2c5bd5911525932636 100644 (file)
        (package--sort-deps-in-alist): New function.
        (package-menu-mark-install): Can mark dependencies.
        (package--newest-p): New function.
-       (package-delete): Don't delesect when deleting an older version of
+       (package-delete): Don't deselect when deleting an older version of
        an upgraded package.
 
        * emacs-lisp/package.el: Add missing (require 'subr-x)
index 838a26934915f6cef98faec69bf6643999007718..c9ddc382d50db74b0e122810366e88a8db445f79 100644 (file)
@@ -1,3 +1,10 @@
+2015-02-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Spelling fixes
+       * semantic/doc.el (semantic-documentation-comment-preceding-tag):
+       Rename from semantic-documentation-comment-preceeding-tag.  All
+       uses changed.  Leave an obsolete alias behind.
+
 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * semantic/db-el.el (semanticdb-elisp-sym->tag): Fix copy&paste error
index 874763f0a7f570851eb0dbebfcedd591f4bd39a1..3ceb3510ad28cc18cdcbddc833975adda2215883 100644 (file)
@@ -56,13 +56,12 @@ If nosnarf if 'lex, then only return the lex token."
          doctmp
          ;; Check just before the definition.
          (when (semantic-tag-with-position-p tag)
-           (semantic-documentation-comment-preceeding-tag tag nosnarf))
+           (semantic-documentation-comment-preceding-tag tag nosnarf))
          ;;  Let's look for comments either after the definition, but before code:
          ;; Not sure yet.  Fill in something clever later....
          nil))))))
 
-;; FIXME this is not how you spell "preceding".
-(defun semantic-documentation-comment-preceeding-tag (&optional tag nosnarf)
+(defun semantic-documentation-comment-preceding-tag (&optional tag nosnarf)
   "Find a comment preceding TAG.
 If TAG is nil.  use the tag under point.
 Searches the space between TAG and the preceding tag for a comment,
@@ -84,6 +83,10 @@ just the lexical token and not the string."
        ;; of a function.
        (semantic-doc-snarf-comment-for-tag nosnarf)))
     ))
+(define-obsolete-function-alias
+  'semantic-documentation-comment-preceeding-tag
+  'semantic-documentation-comment-preceding-tag
+  "25.1")
 
 (defun semantic-doc-snarf-comment-for-tag (nosnarf)
   "Snarf up the comment at POINT for `semantic-documentation-for-tag'.
index 9f106a40660c1cb050f144e4c530632e3add0fb6..47577844c745cd2175920a111205c1fc27fa0864 100644 (file)
@@ -395,7 +395,7 @@ It is assumed that the comment occurs just in front of FCN-IN."
     (beginning-of-line)
     (forward-char -1)
 
-    (let ((lextok (semantic-documentation-comment-preceeding-tag fcn-in 'lex))
+    (let ((lextok (semantic-documentation-comment-preceding-tag fcn-in 'lex))
          (doctext
           (srecode-document-function-name-comment fcn-in))
          )
index d8a4fc9c84681d35ef87c5f80e9de0eaf8bc71dc..de1158d96a7a96efe58b4f4eb85690b146091c92 100644 (file)
@@ -335,11 +335,10 @@ contents of the archive."
   :version "24.4")
 
 (defcustom package-selected-packages nil
-  "Store here packages installed explicitely by user.
-This variable will be feeded automatically by emacs,
-when installing a new package.
-This variable will be used by `package-autoremove' to decide
-which packages are no more needed.
+  "Store here packages installed explicitly by user.
+This variable is fed automatically by Emacs when installing a new package.
+This variable is used by `package-autoremove' to decide
+which packages are no longer needed.
 You can use it to (re)install packages on other machines
 by running `package-user-selected-packages-install'.
 
@@ -1280,7 +1279,7 @@ to install it but still mark it as selected."
 ;;;###autoload
 (defun package-reinstall (pkg)
   "Reinstall package PKG.
-PKG shoul be either a symbol, the package name, or a package-desc
+PKG should be either a symbol, the package name, or a package-desc
 object."
   (interactive (list (intern (completing-read
                               "Reinstall package: "
@@ -1547,7 +1546,7 @@ If NOSAVE is non-nil, the package is not removed from
     ;; `package-selected-packages' even if it can't be deleted.
     (when (and (null nosave)
                (package--user-selected-p name)
-               ;; Don't delesect if this is an older version of an
+               ;; Don't deselect if this is an older version of an
                ;; upgraded package.
                (package--newest-p pkg-desc))
       (customize-save-variable
index 7895f378b82c3086307fcef11d940cd02bd72c22..07d1d471b9f997d7ce11cdff19aacfd855d353c1 100644 (file)
 2014-01-30  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * nnmail.el (nnmail-split-it): Instead of redoing the search to restore
-       the match data, just save and restore it explictly (bug#12375).
+       the match data, just save and restore it explicitly (bug#12375).
 
        * gnus-sum.el (gnus-summary-read-group-1): Initialize the spam code if
        that's needed.
        (spam-ham-copy-or-move-routine): Return the number of processed
        ham messages.
        (spam-summary-prepare-exit): Use the above values to decide
-       whether status messages shouled be displayed.
+       whether status messages should be displayed.
 
 2004-05-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index 081da5db73be89bc07295eed1eea69591e9da973..ce39bb7d5689215e9b21948d4878aab4eeb4ddbe 100644 (file)
        in a table.el table last.
 
        * org.el (org-delete-property): Don't suggest to delete the
-       CATEGORY property when the category is not explicitely set in the
+       CATEGORY property when the category is not explicitly set in the
        property drawer.  Also enforce matching when completing.
        (org-insert-heading): Fix regression: with two universal prefixes,
        insert heading at the end of the subtree.
index 8604cfcb29fa8e30c4e901b5230965fe97dc6f32..5e4dbb7ae1c38891e459c8adf7aca5ef87cfb061 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Spelling fixes
+       * lisp.h (DEFINE_NON_NIL_Q_SYMBOL_MACROS):
+       Rename from DEFINE_NONNIL_Q_SYMBOL_MACROS.  All uses changed.
+
 2015-02-21  Eli Zaretskii  <eliz@gnu.org>
 
        * w32term.c (queue_notifications):
index 7795c90e5ccafc011a377579b0ddda9f09fc9b72..9764b096ef02b33a4fcb4b705fec7f344581621c 100644 (file)
@@ -746,10 +746,10 @@ struct Lisp_Symbol
 
 /* By default, define macros for Qt, etc., as this leads to a bit
    better performance in the core Emacs interpreter.  A plugin can
-   define DEFINE_NONNIL_Q_SYMBOL_MACROS to be false, to be portable to
+   define DEFINE_NON_NIL_Q_SYMBOL_MACROS to be false, to be portable to
    other Emacs instances that assign different values to Qt, etc.  */
-#ifndef DEFINE_NONNIL_Q_SYMBOL_MACROS
-# define DEFINE_NONNIL_Q_SYMBOL_MACROS true
+#ifndef DEFINE_NON_NIL_Q_SYMBOL_MACROS
+# define DEFINE_NON_NIL_Q_SYMBOL_MACROS true
 #endif
 
 #include "globals.h"
index e83eb85c0fee6497b47595e01f9361bbdecef43b..4d9aefad7fb1d18a1390142b13d786bf840777c1 100644 (file)
@@ -331,8 +331,8 @@ For backends which dont support it, `vc-not-supported' is signalled."
 
          (let ((tmp-name (expand-file-name "foo" default-directory)))
            ;; Check for initial state, should be nil until it's registered.
-            ;; Don't pass the backend explictly, otherwise some implementations
-            ;; return non-nil.
+            ;; Don't pass the backend explicitly, otherwise some
+            ;; implementations return non-nil.
            (should (null (vc-working-revision tmp-name)))
 
            ;; Write a new file.  Check state.
index 423df72d5ac07215796555d033e80a63f03e0171..f7529ecb5e3e22771216dc25b519862f4fb8212a 100644 (file)
@@ -272,7 +272,7 @@ Dump out the extracted dictionary."
              (not (semantic-tag-of-class-p fcn-in 'function)))
       (error "No tag of class 'function to insert comment for"))
 
-    (let ((lextok (semantic-documentation-comment-preceeding-tag fcn-in 'lex))
+    (let ((lextok (semantic-documentation-comment-preceding-tag fcn-in 'lex))
          )
 
       (when (not lextok)