Mercurial > emacs
changeset 106837:855f55740303
Fix typos in comments.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 14 Jan 2010 19:37:23 +0100 |
parents | 964aafa9629a |
children | 77b6f5126a69 |
files | lisp/cedet/ede/files.el lisp/cedet/semantic/lex.el lisp/cedet/srecode/args.el lisp/gnus/gnus-diary.el lisp/gnus/nndiary.el lisp/gnus/nnml.el lisp/gnus/webmail.el lisp/paths.el lisp/progmodes/cc-defs.el lisp/progmodes/cc-engine.el lisp/progmodes/cc-fonts.el lisp/progmodes/delphi.el lisp/progmodes/idlwave.el lisp/term/x-win.el lisp/textmodes/bibtex.el src/w32uniscribe.c |
diffstat | 16 files changed, 31 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/cedet/ede/files.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/cedet/ede/files.el Thu Jan 14 19:37:23 2010 +0100 @@ -442,7 +442,7 @@ (setq ans calc)) ;; If we failed to calculate something, we ;; should add it to the hash, but ONLY if we are not - ;; going to FORCE the file into existance. + ;; going to FORCE the file into existence. (when (not force) (ede-locate-add-file-to-hash loc filename 'nomatch)))) ))
--- a/lisp/cedet/semantic/lex.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/cedet/semantic/lex.el Thu Jan 14 19:37:23 2010 +0100 @@ -900,7 +900,7 @@ Optional STR is the string for the token only if the bounds in the buffer do not cover the string they represent. (As from macro expansion.)" - ;; This if statement checks the existance of a STR argument at + ;; This if statement checks the existence of a STR argument at ;; compile time, where STR is some symbol or constant. If the ;; variable STr (runtime) is nil, this will make an incorrect decision. ;;
--- a/lisp/cedet/srecode/args.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/cedet/srecode/args.el Thu Jan 14 19:37:23 2010 +0100 @@ -33,7 +33,7 @@ ;; ;; Using :blank means that the template should force blank lines ;; before and after the template, reguardless of where the insertion -;; is occuring. +;; is occurring. (defun srecode-semantic-handle-:blank (dict) "Add macros into the dictionary DICT specifying blank line spacing. The wrapgap means make sure the first and last lines of the macro
--- a/lisp/gnus/gnus-diary.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/gnus/gnus-diary.el Thu Jan 14 19:37:23 2010 +0100 @@ -158,7 +158,7 @@ ;; I just ignore it. ;;;###autoload (defun gnus-user-format-function-d (header) - ;; Returns an aproximative delay string for the next occurence of this + ;; Returns an aproximative delay string for the next occurrence of this ;; message. The delay is given only in the first non zero unit. ;; Code partly stolen from article-make-date-line (let* ((extras (mail-header-extra header)) @@ -195,7 +195,7 @@ ;; I just ignore it. ;;;###autoload (defun gnus-user-format-function-D (header) - ;; Returns a formatted time string for the next occurence of this message. + ;; Returns a formatted time string for the next occurrence of this message. (let* ((extras (mail-header-extra header)) (sched (gnus-diary-header-schedule extras)) (occur (nndiary-next-occurence sched (current-time))))
--- a/lisp/gnus/nndiary.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/gnus/nndiary.el Thu Jan 14 19:37:23 2010 +0100 @@ -67,7 +67,7 @@ ;; IMHO, nnoo is actually badly designed. A much simpler, and yet more ;; powerful one would be to make *real* functions and variables for a new ;; back end based on another. Lisp is a reflexive language so that's a very -;; easy thing to do: inspect the function's form, replace occurences of +;; easy thing to do: inspect the function's form, replace occurrences of ;; <nnfrom> (even in strings) with <nnto>, and you're done. ;; * nndiary-get-new-mail, nndiary-mail-source and nndiary-split-methods: @@ -1322,7 +1322,7 @@ (sort res 'time-less-p))) (defun nndiary-last-occurence (sched) - ;; Returns the last occurence of schedule SCHED as an Emacs time struct, or + ;; Returns the last occurrence of schedule SCHED as an Emacs time struct, or ;; nil for permanent schedule or errors. (let ((minute (nndiary-max (nth 0 sched))) (hour (nndiary-max (nth 1 sched))) @@ -1393,7 +1393,7 @@ (encode-time 0 minute hour (car days) month year time-zone))) ))))) - ;; There's an upper limit, but we didn't find any last occurence. + ;; There's an upper limit, but we didn't find any last occurrence. ;; This means that the schedule is undecidable. This can happen if ;; you happen to say something like "each Feb 31 until 2038". (progn @@ -1402,8 +1402,8 @@ )))) (defun nndiary-next-occurence (sched now) - ;; Returns the next occurence of schedule SCHED, starting from time NOW. - ;; If there's no next occurence, returns the last one (if any) which is then + ;; Returns the next occurrence of schedule SCHED, starting from time NOW. + ;; If there's no next occurrence, returns the last one (if any) which is then ;; in the past. (let* ((today (decode-time now)) (this-minute (nth 1 today)) @@ -1557,12 +1557,12 @@ ;; The article should be re-considered as unread if there's a reminder ;; between the group timestamp and the current time. (when (and sched (setq sched (nndiary-next-occurence sched now))) - (let ((reminders ;; add the next occurence itself at the end. + (let ((reminders ;; add the next occurrence itself at the end. (append (nndiary-compute-reminders sched) (list sched)))) (while (and reminders (time-less-p (car reminders) timestamp)) (pop reminders)) ;; The reminders might be empty if the last date is in the past, - ;; or we've got at least the next occurence itself left. All past + ;; or we've got at least the next occurrence itself left. All past ;; dates are renewed. (or (not reminders) (time-less-p (car reminders) now)))
--- a/lisp/gnus/nnml.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/gnus/nnml.el Thu Jan 14 19:37:23 2010 +0100 @@ -1200,7 +1200,7 @@ ;; #### already belongs to a range, whereas the corresponding ;; #### article doesn't exist (for example, if you delete an ;; #### article). For that reason, it is important to update - ;; #### the ranges (meaning remove inexistant articles) before + ;; #### the ranges (meaning remove inexistent articles) before ;; #### doing anything on them. ;; 2 a/ read articles: (let ((read (gnus-info-read info)))
--- a/lisp/gnus/webmail.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/gnus/webmail.el Thu Jan 14 19:37:23 2010 +0100 @@ -529,7 +529,7 @@ (widen))) (delete-region p (point-max)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -658,7 +658,7 @@ (setq p (point)))) (delete-region p (point-max)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -835,7 +835,7 @@ (setq mime (webmail-netaddress-single-part)) (widen)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n") @@ -962,7 +962,7 @@ (setq mime (webmail-netaddress-single-part)) (widen)) (goto-char (point-min)) - ;; Some blank line to seperate mails. + ;; Some blank line to separate mails. (insert "\n\nFrom nobody " (current-time-string) "\n") (insert "X-Gnus-Webmail: " (symbol-value 'user) "@" (symbol-name webmail-type) "\n")
--- a/lisp/paths.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/paths.el Thu Jan 14 19:37:23 2010 +0100 @@ -58,7 +58,7 @@ (list config-dir)) (unpruned-prefixes ;; Directory trees that may not exist at installation time, and - ;; so shouldn't be pruned based on existance. + ;; so shouldn't be pruned based on existence. '("/usr/local/")) (prefixes ;; Directory trees in which to look for info subdirectories
--- a/lisp/progmodes/cc-defs.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/progmodes/cc-defs.el Thu Jan 14 19:37:23 2010 +0100 @@ -1010,7 +1010,7 @@ `(c-clear-char-property-fun ,pos ',property)))) (defmacro c-clear-char-properties (from to property) - ;; Remove all the occurences of the given property in the given + ;; Remove all the occurrences of the given property in the given ;; region that has been put with `c-put-char-property'. PROPERTY is ;; assumed to be constant. ;; @@ -1035,7 +1035,7 @@ properties are assumed to be over individual characters, having been put there by c-put-char-property. POINT remains unchanged." (let ((place from) end-place) - (while ; loop round occurrances of (PROPERTY VALUE) + (while ; loop round occurrences of (PROPERTY VALUE) (progn (while ; loop round changes in PROPERTY till we find VALUE (and
--- a/lisp/progmodes/cc-engine.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/progmodes/cc-engine.el Thu Jan 14 19:37:23 2010 +0100 @@ -447,7 +447,7 @@ (c-put-char-property pos 'c-type value)) (defun c-clear-c-type-property (from to value) - ;; Remove all occurences of the c-type property that has the given + ;; Remove all occurrences of the c-type property that has the given ;; value in the region between FROM and TO. VALUE is assumed to not ;; be nil. ;; @@ -555,7 +555,7 @@ statements/declarations on the same level are considered, i.e. don't move into or out of sexps (not even normal expression parentheses). -If point is already at the earliest statment within braces or parens, +If point is already at the earliest statement within braces or parens, this function doesn't move back into any whitespace preceding it; it returns 'same in this case. @@ -605,7 +605,7 @@ ;; The bulk of this function is a pushdown automaton that looks at statement ;; boundaries and the tokens (such as "while") in c-opt-block-stmt-key. Its ;; purpose is to keep track of nested statements, ensuring that such - ;; statments are skipped over in their entirety (somewhat akin to what C-M-p + ;; statements are skipped over in their entirety (somewhat akin to what C-M-p ;; does with nested braces/brackets/parentheses). ;; ;; Note: The position of a boundary is the following token. @@ -4394,7 +4394,7 @@ ;; `c-decl-prefix-or-start-re' when that submatch matches. ;; o The start of each `c-decl-prefix-or-start-re' match when ;; submatch 1 doesn't match. - ;; o The first token after the end of each occurence of the + ;; o The first token after the end of each occurrence of the ;; `c-type' text property with the value `c-decl-end', provided ;; `c-type-decl-end-used' is set. ;;
--- a/lisp/progmodes/cc-fonts.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/progmodes/cc-fonts.el Thu Jan 14 19:37:23 2010 +0100 @@ -1327,7 +1327,7 @@ ,@(when (c-lang-const c-recognize-<>-arglists) `(c-font-lock-<>-arglists)) - ;; The first two rules here mostly find occurences that + ;; The first two rules here mostly find occurrences that ;; `c-font-lock-declarations' has found already, but not ;; declarations containing blocks in the type (see note below). ;; It's also useful to fontify these everywhere to show e.g. when @@ -2117,7 +2117,7 @@ (defun c-find-invalid-doc-markup (regexp limit) ;; Used to fontify invalid markup in doc comments after the correct - ;; ones have been fontified: Find the first occurence of REGEXP + ;; ones have been fontified: Find the first occurrence of REGEXP ;; between the point and LIMIT that only is fontified with ;; `c-doc-face-name'. If a match is found then submatch 0 surrounds ;; the first char and t is returned, otherwise nil is returned.
--- a/lisp/progmodes/delphi.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/progmodes/delphi.el Thu Jan 14 19:37:23 2010 +0100 @@ -1370,7 +1370,7 @@ ;; Indent in from the expression. (delphi-indent-of last-token delphi-indent-level)) - ;; No enclosing expression; use the previous statment's + ;; No enclosing expression; use the previous statement's ;; indent. ((delphi-previous-indent-of token)))))
--- a/lisp/progmodes/idlwave.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/progmodes/idlwave.el Thu Jan 14 19:37:23 2010 +0100 @@ -4607,7 +4607,7 @@ (defun idlwave-shorten-syntax (syntax name &optional class) - ;; From a list of syntax statments, shorten with %s and group with "or" + ;; From a list of syntax statements, shorten with %s and group with "or" (let ((case-fold-search t)) (mapconcat (lambda (x)
--- a/lisp/term/x-win.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/term/x-win.el Thu Jan 14 19:37:23 2010 +0100 @@ -1197,7 +1197,7 @@ ;; We keep track of the last text selected here, so we can check the ;; current selection against it, and avoid passing back our own text ;; from x-cut-buffer-or-selection-value. We track all three -;; seperately in case another X application only sets one of them +;; separately in case another X application only sets one of them ;; (say the cut buffer) we aren't fooled by the PRIMARY or ;; CLIPBOARD selection staying the same. (defvar x-last-selected-text-clipboard nil
--- a/lisp/textmodes/bibtex.el Thu Jan 14 19:29:36 2010 +0100 +++ b/lisp/textmodes/bibtex.el Thu Jan 14 19:37:23 2010 +0100 @@ -2181,7 +2181,7 @@ (if (memq 'realign format) (bibtex-fill-entry))))) - ;; Unwindform: move point to location where error occured if possible + ;; Unwindform: move point to location where error occurred if possible (if error-field-name (let (bounds) (when (save-excursion
--- a/src/w32uniscribe.c Thu Jan 14 19:29:36 2010 +0100 +++ b/src/w32uniscribe.c Thu Jan 14 19:37:23 2010 +0100 @@ -22,7 +22,7 @@ Windows 2000, though most users of older systems will have it since it installs with Internet Explorer 5.0 and other software. We only enable the feature if it is available, so there is no chance - of calling non-existant functions. */ + of calling non-existent functions. */ #undef _WIN32_WINNT #define _WIN32_WINNT 0x500 #include <windows.h>