diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-11-18 15:48:22 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-11-18 16:02:19 +0100 |
commit | ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d (patch) | |
tree | aee24e35b156969e2450699b3d02621bcec3375e /lisp/progmodes | |
parent | c116d9f74c8fc81a7e98b1519fa300998a8a15c3 (diff) | |
download | emacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.tar.gz emacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.tar.bz2 emacs-ba485eb949ddec53b1d7b5d78f3fcfbe2be60d7d.zip |
; Fix typos
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/cc-cmds.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cc-langs.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cc-mode.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/ebnf2ps.el | 6 | ||||
-rw-r--r-- | lisp/progmodes/elisp-mode.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/sh-script.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/sql.el | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 38e9d6011df..7bfd6bdbd91 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el @@ -1456,7 +1456,7 @@ keyword on the line, the keyword is not inserted inside a literal, and (defun c-align-cpp-indent-to-body () "Align a \"#pragma\" line under the previous line. -This function is intented for use as a member of `c-special-indent-hook'." +This function is intended for use as a member of `c-special-indent-hook'." (when (assq 'cpp-macro c-syntactic-context) (when (save-excursion diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 94c84a6a702..561aa0f7e5b 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -2713,7 +2713,7 @@ before the type, so such things are not necessary to mention here. Mentioning them here is necessary only if they can occur in other places, or if they are followed by a construct that must be skipped over (like the parens in the \"__attribute__\" and \"__declspec\" -examples above). In the last case, they alse need to be present on +examples above). In the last case, they also need to be present on one of `c-type-list-kwds', `c-ref-list-kwds', `c-colon-type-list-kwds', `c-paren-nontype-kwds', `c-paren-type-kwds', `c-<>-type-kwds', or `c-<>-arglist-kwds'." diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index fb5ef694138..5a610253e01 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -1235,7 +1235,7 @@ Note that the style variables are always made local to the buffer." (defun c-multiline-string-check-final-quote () ;; Check that the final quote in the buffer is correctly marked or not with - ;; a string-fence syntax-table text propery. The return value has no + ;; a string-fence syntax-table text property. The return value has no ;; significance. (let (pos-ll pos-lt) (save-excursion diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 1894826fe4e..36849492be4 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el @@ -4282,7 +4282,7 @@ end (ebnf-eps-header-footer ebnf-eps-footer)) -;; hacked fom `ps-output-string-prim' (ps-print.el) +;; hacked from `ps-output-string-prim' (ps-print.el) (defun ebnf-eps-string (string) (let* ((str string) (len (length str)) @@ -4403,9 +4403,9 @@ end (defvar ebnf-nprod 0) -(defsubst ebnf-message-info (messag) +(defsubst ebnf-message-info (msg) (message "%s...%3d%%" - messag + msg (round (/ (* (setq ebnf-nprod (1+ ebnf-nprod)) 100.0) ebnf-total)))) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 6bdaa7a37aa..44c8ca7cb9d 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -1699,7 +1699,7 @@ the value of the variable `edebug-all-defs'. If point isn't in a top-level form, evaluate the first top-level form after point. If there is no top-level form after point, -evaluate the first preceeding top-level form. +evaluate the first preceding top-level form. If the current defun is actually a call to `defvar' or `defcustom', evaluating it this way resets the variable using its initial value diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 558b62b20ae..4deb06bde4b 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -522,7 +522,7 @@ This is buffer-local in every such buffer.") (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=") (sh . "\\<\\([[:alnum:]_]+\\)=")) "Regexp for the variable name and what may follow in an assignment. -First grouping matches the variable name. This is upto and including the `=' +First grouping matches the variable name. This is up to and including the `=' sign. See `sh-feature'." :type '(repeat (cons (symbol :tag "Shell") (choice regexp diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index a1c0aa76de5..e585799dc63 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -781,7 +781,7 @@ host key." ;; Perform search (dolist (s (auth-source-search :max 1000)) (when (and - ;; Is PRODUCT specified, in the enty, and they are equal + ;; Is PRODUCT specified, in the entry, and they are equal (if product (if (plist-member s :product) (equal (plist-get s :product) product) |