diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-09-21 13:29:10 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-09-21 14:26:42 +0200 |
commit | 462dbc1cb2c59eaca9c9344636b8af29462370a0 (patch) | |
tree | f5329670eed8372fc268bf7f5037627f0330d81e /lisp | |
parent | e72d3793bcec67f9312e9d011e4357f8986bf837 (diff) | |
download | emacs-462dbc1cb2c59eaca9c9344636b8af29462370a0.tar.gz |
; Fix typos
Diffstat (limited to 'lisp')
42 files changed, 66 insertions, 66 deletions
diff --git a/lisp/cedet/semantic/bovine/el.el b/lisp/cedet/semantic/bovine/el.el index 822ec176a39..bbed1d94f20 100644 --- a/lisp/cedet/semantic/bovine/el.el +++ b/lisp/cedet/semantic/bovine/el.el @@ -649,7 +649,7 @@ define-mode-overload\\)\ )) (when fun ;; Do not return FUN IFF the cursor is on FUN. - ;; Huh? Thats because if cursor is on fun, it is + ;; Huh? That's because if cursor is on fun, it is ;; the current symbol, and not the current function. (if (save-excursion (condition-case nil diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el index 510f931fa9f..86ccf28ad02 100644 --- a/lisp/cedet/semantic/db-find.el +++ b/lisp/cedet/semantic/db-find.el @@ -1245,7 +1245,7 @@ See `semanticdb-find-translate-path' for details on PATH. The argument BRUTISH will be set so that searching includes all tables in the current project. FIND-FILE-MATCH indicates that any time a match is found, the file -associated wit that tag should be loaded into a buffer." +associated with that tag should be loaded into a buffer." (semanticdb-find-tags-collector (lambda (table tags) (semanticdb-deep-find-tags-by-name-method table name tags)) @@ -1257,7 +1257,7 @@ See `semanticdb-find-translate-path' for details on PATH. The argument BRUTISH will be set so that searching includes all tables in the current project. FIND-FILE-MATCH indicates that any time a match is found, the file -associated wit that tag should be loaded into a buffer." +associated with that tag should be loaded into a buffer." (semanticdb-find-tags-collector (lambda (table tags) (semanticdb-deep-find-tags-for-completion-method table prefix tags)) diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index aaf43a17293..60a65b195bc 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el @@ -89,7 +89,7 @@ same major mode as the current buffer.") :documentation "The tags belonging to this table.") (db-refs :initform nil :documentation - "List of `semanticdb-table' objects refering to this one. + "List of `semanticdb-table' objects referring to this one. These aren't saved, but are instead recalculated after load. See the file semanticdb-ref.el for how this slot is used.") (index :type semanticdb-abstract-search-index @@ -764,7 +764,7 @@ If a particular major mode wants to search any mode, put the Do not set the value of this variable permanently.") (defmacro semanticdb-with-match-any-mode (&rest body) - "A Semanticdb search occurring withing BODY will search tags in all modes. + "A Semanticdb search occurring within BODY will search tags in all modes. This temporarily sets `semanticdb-match-any-mode' while executing BODY." (declare (indent 0) (debug t)) `(let ((semanticdb-match-any-mode t)) diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index 3e090c004e3..799aa45a823 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el @@ -1069,7 +1069,7 @@ Only in effect if `debug-on-error' is also non-nil." "For SYNTAX, execute FORMS with protection for unterminated syntax. If FORMS throws an error, treat this as a syntax problem, and execute the unterminated syntax code. FORMS should return a position. -Irregardless of an error, the cursor should be moved to the end of +Regardless of an error, the cursor should be moved to the end of the desired syntax, and a position returned. If `debug-on-error' is set, errors are not caught, so that you can debug them. diff --git a/lisp/composite.el b/lisp/composite.el index 77c5cd87b88..47d91c5d212 100644 --- a/lisp/composite.el +++ b/lisp/composite.el @@ -660,7 +660,7 @@ All non-spacing characters have this function in ;; align it at the center of the glyph of the ;; enclosing mark hoping that the enclosing mark ;; is big enough. We also have to adjust the - ;; x-offset and width of the mark ifself properly + ;; x-offset and width of the mark itself properly ;; depending on how the glyph is designed. ;; (non-spacing or not). For instance, when we diff --git a/lisp/descr-text.el b/lisp/descr-text.el index d6da4280630..9305664e31a 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -953,7 +953,7 @@ This function can be used as a value of ;; exclusively, we could call the (now unused) argument ;; _CALLBACK with hints on how to shorten the string if needed, ;; or with multiple usable strings which ElDoc picks according - ;; to its space contraints. + ;; to its space constraints. (describe-char-eldoc--format ch (unless (eq eldoc-echo-area-use-multiline-p t) diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el index b75410ee220..810affa7227 100644 --- a/lisp/emacs-lisp/eieio.el +++ b/lisp/emacs-lisp/eieio.el @@ -875,7 +875,7 @@ this object." ;; Now output readable lisp to recreate this object ;; It should look like this: ;; (<constructor> <name> <slot> <slot> ... ) - ;; Each slot's slot is writen using its :writer. + ;; Each slot's slot is written using its :writer. (when eieio-print-indentation (princ (make-string (* eieio-print-depth 2) ? ))) (princ "(") diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index f8768051d14..8fc8db62220 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el @@ -421,7 +421,7 @@ pairs of the form (:KEY VALUE :KEY2 VALUE2...). KEY can be: * `:thing', VALUE is a short string or symbol designating what is being reported on. The documentation display engine can elect - to remove this information depending on space contraints; + to remove this information depending on space constraints; * `:face', VALUE is a symbol designating a face to use when displaying `:thing''s value. @@ -719,7 +719,7 @@ Other third-party strategy functions do not use produce callbacks to feed to `eldoc-documentation-function' and should endeavour to display the docstrings eventually produced." (let* (;; How many callbacks have been created by the strategy - ;; fucntion and passed to elements of + ;; function and passed to elements of ;; `eldoc-documentation-functions'. (howmany 0) ;; How many calls to callbacks we're still waiting on. Used diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index a8ce23284c4..09c48d095cc 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el @@ -594,7 +594,7 @@ MATCH is the pattern that needs to be matched, of the form: ((null (cdr else-alts)) (car else-alts)) (t (cons (car match) (nreverse else-alts))))))) ((memq match '(:pcase--succeed :pcase--fail)) (cons match match)) - (t (error "Uknown MATCH %s" match)))) + (t (error "Unknown MATCH %s" match)))) (defun pcase--split-rest (sym splitter rest) (let ((then-rest '()) @@ -725,7 +725,7 @@ MATCH is the pattern that needs to be matched, of the form: (pcase--app-subst-match match sym fun nsym)) (cdr match)))) ((memq match '(:pcase--succeed :pcase--fail)) match) - (t (error "Uknown MATCH %s" match)))) + (t (error "Unknown MATCH %s" match)))) (defun pcase--app-subst-rest (rest sym fun nsym) (mapcar (lambda (branch) diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index 0672f607523..fbcd7b8fb8c 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el @@ -96,7 +96,7 @@ ;; out. ;; Q: But how can I then make out the sub-expressions? -;; A: Thats where the `sub-expression mode' comes in. In it only the +;; A: That's where the `sub-expression mode' comes in. In it only the ;; digit keys are assigned to perform an update that will flash the ;; corresponding subexp only. diff --git a/lisp/epa.el b/lisp/epa.el index b065887cef1..609ac5d1917 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -400,7 +400,7 @@ DOC is documentation text to insert at the start." e expired key. n never trust. m trust marginally. u trust ultimately. f trust fully (keys you have signed, usually). q trust status questionable. - trust status unspecified. - See GPG documentaion for more explanation. + See GPG documentation for more explanation. \n")) ;;;###autoload diff --git a/lisp/erc/erc-networks.el b/lisp/erc/erc-networks.el index 8551cdd1dee..309a78865df 100644 --- a/lisp/erc/erc-networks.el +++ b/lisp/erc/erc-networks.el @@ -152,7 +152,7 @@ ("EFnet: EU, PL, Warszawa" EFnet "irc.efnet.pl" 6667) ("EFnet: EU, RU, Moscow" EFnet "irc.rt.ru" ((6661 6669))) ("EFnet: EU, SE, Dalarna" EFnet "irc.du.se" ((6666 6669))) - ("EFnet: EU, SE, Gothenberg" EFnet "irc.hemmet.chalmers.se" ((6666 7000))) + ("EFnet: EU, SE, Gothenburg" EFnet "irc.hemmet.chalmers.se" ((6666 7000))) ("EFnet: EU, SE, Sweden" EFnet "irc.light.se" 6667) ("EFnet: EU, UK, London (carrier)" EFnet "irc.carrier1.net.uk" ((6666 6669))) ("EFnet: EU, UK, London (demon)" EFnet "efnet.demon.co.uk" ((6665 6669))) diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index d7388d480c3..f748996acc8 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el @@ -1304,7 +1304,7 @@ downloaded into the agent." ;; gnus doesn't waste resources trying to fetch them. ;; NOTE: I don't do this for smaller gaps (< 100) as I don't - ;; want to modify the local file everytime someone restarts + ;; want to modify the local file every time someone restarts ;; gnus. The small gap will cause a tiny performance hit ;; when gnus tries, and fails, to retrieve the articles. ;; Still that should be smaller than opening a buffer, diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index cb39ffe9462..ca610010917 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -546,7 +546,7 @@ If MODE is not set, try to find mode automatically." (mm-display-inline-fontify handle 'shell-script-mode)) (defun mm-display-javascript-inline (handle) - "Show JavsScript code from HANDLE inline." + "Show JavaScript code from HANDLE inline." (mm-display-inline-fontify handle 'javascript-mode)) ;; id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2) diff --git a/lisp/gnus/nndiary.el b/lisp/gnus/nndiary.el index 7894285bdf3..a43eee42ad0 100644 --- a/lisp/gnus/nndiary.el +++ b/lisp/gnus/nndiary.el @@ -1425,7 +1425,7 @@ all. This may very well take some time.") (pop years))) (if years ;; Because we might not be limited in years, we must guard against - ;; infinite loops. Appart from cases like Feb 31, there are probably + ;; infinite loops. Apart from cases like Feb 31, there are probably ;; other ones, (no monday XXX 2nd etc). I don't know any algorithm to ;; decide this, so I assume that if we reach 10 years later, the ;; schedule is undecidable. diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 168c994bae1..20f82e5cbdf 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -211,7 +211,7 @@ By default this is the name of an email header field.") "Search groups in Gnus with assorted search engines." :group 'gnus) -(make-obsolete-variable 'nnir-summary-line-format "The formating +(make-obsolete-variable 'nnir-summary-line-format "The formatting specs previously unique to this variable may now be set in 'gnus-summary-line-format." "28.1") diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 4d653972c95..ed2cd26f0de 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el @@ -1034,7 +1034,7 @@ then the specification is returned unchanged." ((facep fn) (hfy-face-attr-for-class fn hfy-display-class)) ;; FIXME: is this necessary? Faces can be symbols, but - ;; not symbols refering to other symbols? + ;; not symbols referring to other symbols? ((and (symbolp fn) (facep (symbol-value fn))) (hfy-face-attr-for-class diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el index b703d3dd2f2..6b7419fa4cd 100644 --- a/lisp/international/ucs-normalize.el +++ b/lisp/international/ucs-normalize.el @@ -98,7 +98,7 @@ ;; ;; D. Sorting and Composition of Smaller Blocks (`ucs-normalize-block-compose-chars') ;; -;; The block will be split to multiple samller blocks by starter +;; The block will be split to multiple smaller blocks by starter ;; characters. Each block is sorted, and composed if necessary. ;; ;; E. Composition of Entire Block (`ucs-normalize-compose-chars') diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el index 2d50df70fd4..b319bf6e924 100644 --- a/lisp/jsonrpc.el +++ b/lisp/jsonrpc.el @@ -274,7 +274,7 @@ error of type `jsonrpc-error'. DEFERRED is passed to `jsonrpc-async-request', which see. If CANCEL-ON-INPUT is non-nil and the user inputs something while -the functino is waiting, then it exits immediately, returning +the function is waiting, then it exits immediately, returning CANCEL-ON-INPUT-RETVAL. Any future replies (normal or error) are ignored." (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer @@ -336,7 +336,7 @@ ignored." "Time in seconds before timing out a JSONRPC request.") -;;; Specfic to `jsonrpc-process-connection' +;;; Specific to `jsonrpc-process-connection' ;;; (defclass jsonrpc-process-connection (jsonrpc-connection) diff --git a/lisp/kmacro.el b/lisp/kmacro.el index 3a59708d837..3437dba5e6a 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el @@ -924,7 +924,7 @@ The ARG parameter is unused." nil (if kmacro-view-last-item (concat (cond ((= kmacro-view-item-no 2) "2nd") - ((= kmacro-view-item-no 3) "3nd") + ((= kmacro-view-item-no 3) "3rd") (t (format "%dth" kmacro-view-item-no))) " previous macro") "Last macro"))) diff --git a/lisp/language/korea-util.el b/lisp/language/korea-util.el index 296dbd78970..3821785da73 100644 --- a/lisp/language/korea-util.el +++ b/lisp/language/korea-util.el @@ -46,7 +46,7 @@ (concat "korean-hangul" default-korean-keyboard)))) (defun quail-hangul-switch-symbol-ksc (&rest ignore) - "Swith to/from Korean symbol package." + "Switch to/from Korean symbol package." (interactive "i") (and current-input-method (if (string-equal current-input-method "korean-symbol") @@ -55,7 +55,7 @@ (activate-input-method "korean-symbol")))) (defun quail-hangul-switch-hanja (&rest ignore) - "Swith to/from Korean hanja package." + "Switch to/from Korean hanja package." (interactive "i") (and current-input-method (if (string-match "korean-hanja" current-input-method) diff --git a/lisp/mh-e/mh-limit.el b/lisp/mh-e/mh-limit.el index a3fbb89bb88..d4577807c92 100644 --- a/lisp/mh-e/mh-limit.el +++ b/lisp/mh-e/mh-limit.el @@ -148,7 +148,7 @@ Use \\<mh-folder-mode-map>\\[mh-widen] to undo this command." "Put all following messages with same subject in sequence 'subject. If arg ALL is t, move to beginning of folder buffer to collect all messages. -If arg ALL is nil, collect only messages fron current one on forward. +If arg ALL is nil, collect only messages from current one on forward. Return number of messages put in the sequence: @@ -198,7 +198,7 @@ It would be desirable to avoid hard-coding this.") This function only works with an unthreaded folder. If arg ALL is t, move to beginning of folder buffer to collect all messages. If -arg ALL is nil, collect only messages fron current one on +arg ALL is nil, collect only messages from current one on forward. Return number of messages put in the sequence: diff --git a/lisp/mh-e/mh-speed.el b/lisp/mh-e/mh-speed.el index 7e0981bed3a..0732a16dc7d 100644 --- a/lisp/mh-e/mh-speed.el +++ b/lisp/mh-e/mh-speed.el @@ -307,7 +307,7 @@ The function will expand out parent folders of FOLDER if needed." (mh-speed-toggle)) (goto-char (gethash prefix mh-speed-folder-map)))) (while suffix-list - ;; We always need atleast one toggle. We need two if the directory list + ;; We always need at least one toggle. We need two if the directory list ;; is stale since a folder was added. (when (equal prefix (get-text-property (mh-line-beginning-position) 'mh-folder)) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 7fd48b29a9f..6d44ad23ad7 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1297,7 +1297,7 @@ If nil, return `tramp-default-port'." (or (tramp-file-name-port vec) (tramp-get-method-parameter vec 'tramp-default-port))) -;; Comparision of file names is performed by `tramp-equal-remote'. +;; Comparison of file names is performed by `tramp-equal-remote'. (defun tramp-file-name-equal-p (vec1 vec2) "Check, whether VEC1 and VEC2 denote the same `tramp-file-name'." (and (tramp-file-name-p vec1) (tramp-file-name-p vec2) @@ -4639,7 +4639,7 @@ If it doesn't exist, generate a new one." (with-tramp-connection-property (tramp-get-connection-process vec) "device" (cons -1 (setq tramp-devices (1+ tramp-devices))))) -;; Comparision of vectors is performed by `tramp-file-name-equal-p'. +;; Comparison of vectors is performed by `tramp-file-name-equal-p'. (defun tramp-equal-remote (file1 file2) "Check, whether the remote parts of FILE1 and FILE2 are identical. The check depends on method, user and host name of the files. If diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el index 7c4941e7256..3d4843a39c6 100644 --- a/lisp/play/5x5.el +++ b/lisp/play/5x5.el @@ -582,7 +582,7 @@ Solutions are sorted from least to greatest Hamming weight." (math-sub dest org)))) ;; transferm is the transfer matrix, ie it is the 25x25 - ;; matrix applied everytime a flip is carried out where a + ;; matrix applied every time a flip is carried out where a ;; flip is defined by a 25x1 Dirac vector --- ie all zeros ;; but 1 in the position that is flipped. (transferm diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 7d10027c76f..4e336c0a064 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -2697,7 +2697,7 @@ comment at the start of cc-engine.el for more info." ;; or the car of the list is the "position element" of ELT, the position ;; where ELT is valid. ;; - ;; POINT is left at the postition for which the returned state is valid. It + ;; POINT is left at the position for which the returned state is valid. It ;; will be either the position element of ELT, or one character before ;; that. (The latter happens in Emacs <= 25 and XEmacs, when ELT indicates ;; its position element directly follows a potential first character of a @@ -2767,7 +2767,7 @@ comment at the start of cc-engine.el for more info." ((nth 3 state) ; A string (list (point) (nth 3 state) (nth 8 state))) ((and (nth 4 state) ; A comment - (not (eq (nth 7 state) 'syntax-table))) ; but not a psuedo comment. + (not (eq (nth 7 state) 'syntax-table))) ; but not a pseudo comment. (list (point) (if (eq (nth 7 state) 1) 'c++ 'c) (nth 8 state))) @@ -2894,7 +2894,7 @@ comment at the start of cc-engine.el for more info." (setq nc-list (cdr nc-list)))))) (defun c-semi-get-near-cache-entry (here) - ;; Return the near cache entry at the highest postion before HERE, if any, + ;; Return the near cache entry at the highest position before HERE, if any, ;; or nil. The near cache entry is of the form (POSITION . STATE), where ;; STATE has the form of a result of `parse-partial-sexp'. (let ((nc-pos-state @@ -7170,7 +7170,7 @@ comment at the start of cc-engine.el for more info." ;; characters.) If the raw string is not terminated, E\) and E\" are set to ;; nil. ;; - ;; Note: this function is dependant upon the correct syntax-table text + ;; Note: this function is dependent upon the correct syntax-table text ;; properties being set. (let ((state (c-semi-pp-to-literal (point))) open-quote-pos open-paren-pos close-paren-pos close-quote-pos id) diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index d35eab15a20..468ffc949a6 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -814,7 +814,7 @@ capable syntax engines). (defvar cperl-speed 'please-ignore-this-line "This is an incomplete compendium of what is available in other parts -of CPerl documentation. (Please inform me if I skept anything.) +of CPerl documentation. (Please inform me if I skipped anything.) There is a perception that CPerl is slower than alternatives. This part of documentation is designed to overcome this misconception. @@ -4486,7 +4486,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', 'syntax-table cperl-st-cfence)))) (setq was-subgr nil)) (t ; (?#)-comment - ;; Inside "(" and "\" arn't special in any way + ;; Inside "(" and "\" aren't special in any way ;; Works also if the outside delimiters are (). (or;;(if (eq (char-after b) ?\) ) ;;(re-search-forward diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 72b94a57b4a..b4803687b5a 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -683,7 +683,7 @@ otherwise build the summary from TYPE and SYMBOL." "List of functions to be run from `elisp--xref-find-definitions' to add additional xrefs. Called with one arg; the symbol whose definition is desired. Each function should return a list of xrefs, or nil; the first -non-nil result supercedes the xrefs produced by +non-nil result supersedes the xrefs produced by `elisp--xref-find-definitions'.") (cl-defmethod xref-backend-definitions ((_backend (eql elisp)) identifier) diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 2c5c36504a9..f6af1f2ea84 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -1845,7 +1845,7 @@ Also see the documentation of the `tags-file-name' variable." Third arg DELIMITED (prefix arg) means replace only word-delimited matches. If you exit (\\[keyboard-quit], RET or q), you can resume the query replace with the command \\[tags-loop-continue]. -For non-interactive use, superceded by `fileloop-initialize-replace'." +For non-interactive use, superseded by `fileloop-initialize-replace'." (declare (advertised-calling-convention (from to &optional delimited) "27.1")) (interactive (query-replace-read-args "Tags query replace (regexp)" t t)) (fileloop-initialize-replace diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index bdb775795ab..b286208fff9 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -226,10 +226,10 @@ Specifically, start it when the saved buffer is actually displayed." (defcustom flymake-suppress-zero-counters :warning "Control appearance of zero-valued diagnostic counters in mode line. -If set to t, supress all zero counters. If set to a severity +If set to t, suppress all zero counters. If set to a severity symbol like `:warning' (the default) suppress zero counters less severe than that severity, according to `warning-numeric-level'. -If set to nil, don't supress any zero counters." +If set to nil, don't suppress any zero counters." :type 'symbol) (when (fboundp 'define-fringe-bitmap) @@ -632,7 +632,7 @@ associated `flymake-category' return DEFAULT." for (ov-prop . value) in (append (reverse (flymake--diag-overlay-properties diagnostic)) - (reverse ; ensure ealier props override later ones + (reverse ; ensure earlier props override later ones (flymake--lookup-type-property type 'flymake-overlay-control)) (alist-get type flymake-diagnostic-types-alist)) do (overlay-put ov ov-prop value)) @@ -1004,7 +1004,7 @@ special *Flymake log* buffer." :group 'flymake :lighter (add-hook 'kill-buffer-hook 'flymake-kill-buffer-hook nil t) (add-hook 'eldoc-documentation-functions 'flymake-eldoc-function t t) - ;; If Flymake happened to be alrady already ON, we must cleanup + ;; If Flymake happened to be already already ON, we must cleanup ;; existing diagnostic overlays, lest we forget them by blindly ;; reinitializing `flymake--backend-state' in the next line. ;; See https://github.com/joaotavora/eglot/issues/223. diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index e5c62f91489..8d6f8af2322 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -2547,7 +2547,7 @@ file names include non-ASCII characters." (defun gdb-gdb (_output-field) ;; This is needed because the "explore" command is not ended by the - ;; likes of "end" or "quit", but instead by a RET at the approriate + ;; likes of "end" or "quit", but instead by a RET at the appropriate ;; place, and we know we have exited "explore" when we get the ;; "(gdb)" prompt. (and (> gdb-control-level 0) diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 0b1ba80edcb..9177b13418e 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -301,7 +301,7 @@ Several variables affect how the hiding is done: ;; `hide-ifdef-env' is now a global variable. ;; We can still simulate the behavior of older hideif versions (i.e. ;; `hide-ifdef-env' being buffer local) by clearing this variable - ;; (C-c @ C) everytime before hiding current buffer. + ;; (C-c @ C) every time before hiding current buffer. ;; (set (make-local-variable 'hide-ifdef-env) ;; (default-value 'hide-ifdef-env)) (set 'hide-ifdef-env (default-value 'hide-ifdef-env)) @@ -1490,7 +1490,7 @@ Refer to `hide-ifdef-expand-reinclusion-protection' for more details." (test (hif-canonicalize hif-ifx-regexp)) (range (hif-find-range)) (elifs (hif-range-elif range)) - (if-part t) ; Everytime we start from if-part + (if-part t) ; Every time we start from if-part (complete nil)) ;; (message "test = %s" test) (sit-for 1) @@ -1650,7 +1650,7 @@ first arg will be `hif-etc'." ;; postponed the evaluation process one stage and store the "parsed tree" ;; into symbol database. The evaluation process was then "strings -> tokens ;; -> [parsed tree] -> value". Hideif therefore run slower since it need to -;; evaluate the parsed tree everytime when trying to expand the symbol. These +;; evaluate the parsed tree every time when trying to expand the symbol. These ;; temporarily code changes are obsolete and not in Emacs source repository. ;; ;; Furthermore, CPP did allow partial expression to be defined in several @@ -1659,7 +1659,7 @@ first arg will be `hif-etc'." ;; further, otherwise those partial expression will be fail on parsing and ;; we'll miss all macros that reference it. The evaluation process thus ;; became "strings -> [tokens] -> parsed tree -> value." This degraded the -;; performance since we need to parse tokens and evaluate them everytime +;; performance since we need to parse tokens and evaluate them every time ;; when that symbol is referenced. ;; ;; In real cases I found a lot portion of macros are "simple macros" that diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 235279e226e..01cc330dc2e 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -1413,7 +1413,7 @@ Fill comments, backslashed lines, and variable definitions specially." "Leave the browser and return to the makefile buffer." (interactive) (let ((my-client makefile-browser-client)) - (setq makefile-browser-client nil) ; we quitted, so NO client! + (setq makefile-browser-client nil) ; we quit, so NO client! (set-buffer-modified-p nil) (quit-window t) (pop-to-buffer my-client))) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 39120457b66..8c550b57682 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1030,7 +1030,7 @@ Each condition is either: * `or': the cdr is a list of recursive conditions, of which at least one has to be met. -If any of these conditions are satified for a buffer in the +If any of these conditions are satisfied for a buffer in the current project, it will be killed." :type '(repeat (choice regexp function symbol (cons :tag "Major mode" @@ -1225,7 +1225,7 @@ command to run when KEY is pressed. LABEL is used to distinguish the menu entries in the dispatch menu.") (defun project--keymap-prompt () - "Return a prompt for the project swithing dispatch menu." + "Return a prompt for the project switching dispatch menu." (mapconcat (pcase-lambda (`(,key ,label)) (format "[%s] %s" diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d2eb5f268bd..7c3b611cd9f 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -2059,7 +2059,7 @@ that they are prioritized when looking for executables." When this variable is non-nil, values are exported into remote hosts PATH before starting processes. Values defined in `python-shell-exec-path' will take precedence to paths defined -here. Normally you wont use this variable directly unless you +here. Normally you won't use this variable directly unless you plan to ensure a particular set of paths to all Python shell executed through tramp connections." :version "25.1" @@ -4130,7 +4130,7 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'." (goto-char (point-max))) (point-marker))) (multi-line-p - ;; Docstring styles may vary for oneliners and multi-liners. + ;; Docstring styles may vary for one-liners and multi-liners. (> (count-matches "\n" str-start-pos str-end-pos) 0)) (delimiters-style (pcase python-fill-docstring-style @@ -5336,7 +5336,7 @@ To use `flake8' you would set this to (\"flake8\" \"-\")." :group 'python-flymake :type '(repeat string)) -;; The default regexp accomodates for older pyflakes, which did not +;; The default regexp accommodates for older pyflakes, which did not ;; report the column number, and at the same time it's compatible with ;; flake8 output, although it may be redefined to explicitly match the ;; TYPE @@ -5536,7 +5536,7 @@ REPORT-FN is Flymake's callback function." (^ '(- (1+ (current-indentation)))))) (with-no-warnings - ;; supress warnings about eldoc-documentation-function being obsolete + ;; suppress warnings about eldoc-documentation-function being obsolete (if (null eldoc-documentation-function) ;; Emacs<25 (set (make-local-variable 'eldoc-documentation-function) diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 5a469bb9677..b1abefe534e 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el @@ -1284,7 +1284,7 @@ won't merge conflict." (defcustom verilog-auto-inst-template-required nil "If non-nil, when creating a port with AUTOINST, require a template. -Any port which does not have a template will be ommitted from the +Any port which does not have a template will be omitted from the instantiation. If nil, if a port is not templated it will be inserted to connect diff --git a/lisp/replace.el b/lisp/replace.el index dc6e67ff404..035031ac93d 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -1674,7 +1674,7 @@ See also `multi-occur'." (with-current-buffer occur-buf ;; Make the default-directory of the *Occur* buffer match that of - ;; the buffer where the occurences come from + ;; the buffer where the occurrences come from (setq default-directory source-buffer-default-directory) (if (stringp nlines) (fundamental-mode) ;; This is for collect operation. diff --git a/lisp/ses.el b/lisp/ses.el index a2e603307ed..64d03a7fe5f 100644 --- a/lisp/ses.el +++ b/lisp/ses.el @@ -3672,7 +3672,7 @@ highlighted range in the spreadsheet." ;; 'rowcol' corresponding to 'ses-cell' property of symbol ;; 'sym'. Both must be the same. (unless (eq sym old-name) - (error "Spreadsheet is broken, both symbols %S and %S refering to cell (%d,%d)" sym old-name row col)) + (error "Spreadsheet is broken, both symbols %S and %S referring to cell (%d,%d)" sym old-name row col)) (if new-rowcol ;; the new name is of A1 type, so we test that the coordinate ;; inferred from new name @@ -3685,7 +3685,7 @@ highlighted range in the spreadsheet." (puthash new-name rowcol ses--named-cell-hashmap)) (push `(ses-rename-cell ,old-name ,cell) buffer-undo-list) (cl-pushnew rowcol ses--deferred-write :test #'equal) - ;; Replace name by new name in formula of cells refering to renamed cell. + ;; Replace name by new name in formula of cells referring to renamed cell. (dolist (ref (ses-cell-references cell)) (let* ((x (ses-sym-rowcol ref)) (xcell (ses-get-cell (car x) (cdr x)))) diff --git a/lisp/so-long.el b/lisp/so-long.el index f8a5cc920d9..6ae8d0aec8a 100644 --- a/lisp/so-long.el +++ b/lisp/so-long.el @@ -833,7 +833,7 @@ available in Emacs versions < 27). For more information refer to info node `(emacs) Bidirectional Editing' and info node `(elisp) Bidirectional Display'. Buffers are made read-only by default to prevent potentially-slow editing from -occurring inadvertantly, as buffers with excessively long lines are likely not +occurring inadvertently, as buffers with excessively long lines are likely not intended to be edited manually." :type '(alist :key-type (variable :tag "Variable") :value-type (sexp :tag "Value")) diff --git a/lisp/subr.el b/lisp/subr.el index f00e4ef867c..377d914718a 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4452,7 +4452,7 @@ This function returns a freshly created string." ;; We didn't have a match after all. (setq i (1+ i)) ;; We had one, so gather the previous part and the - ;; substition. + ;; substitution. (when (not (= start i)) (push (substring instring start i) result)) (push tostring result) diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el index 097e769de8f..53f918cff9c 100644 --- a/lisp/wid-browse.el +++ b/lisp/wid-browse.el @@ -187,7 +187,7 @@ if that value is non-nil." (define-widget 'widget-browse 'push-button "Button for creating a widget browser. -The :value of the widget shuld be the widget to be browsed." +The :value of the widget should be the widget to be browsed." :format "%[[%v]%]" :value-create 'widget-browse-value-create :action 'widget-browse-action) diff --git a/lisp/xwidget.el b/lisp/xwidget.el index e5c1b47f3b1..caf57ae43fe 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -217,7 +217,7 @@ If N is omitted or nil, scroll down by one line." (defun xwidget-webkit-scroll-forward (&optional n) "Scroll webkit horizontally by N chars. The width of char is calculated with `window-font-width'. -If N is ommited or nil, scroll forwards by one char." +If N is omitted or nil, scroll forwards by one char." (interactive "p") (xwidget-webkit-execute-script (xwidget-webkit-current-session) @@ -227,7 +227,7 @@ If N is ommited or nil, scroll forwards by one char." (defun xwidget-webkit-scroll-backward (&optional n) "Scroll webkit back by N chars. The width of char is calculated with `window-font-width'. -If N is ommited or nil, scroll backwards by one char." +If N is omitted or nil, scroll backwards by one char." (interactive "p") (xwidget-webkit-execute-script (xwidget-webkit-current-session) |