aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-09-20 12:21:40 +0200
committerStefan Kangas2022-09-20 12:21:40 +0200
commit616dcf27e57388403d4c28d441bf7310bb665241 (patch)
treea8a30b8e0e24e7d0fa33fa17b7972d3791be57c8
parent540585254133af722739339ef420e68e09fe62e5 (diff)
downloademacs-616dcf27e57388403d4c28d441bf7310bb665241.tar.gz
emacs-616dcf27e57388403d4c28d441bf7310bb665241.zip
; Fix typos in Lisp symbols
-rw-r--r--lisp/allout-widgets.el4
-rw-r--r--lisp/autorevert.el2
-rw-r--r--lisp/cedet/ede/autoconf-edit.el3
-rw-r--r--lisp/emacs-lisp/benchmark.el2
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
-rw-r--r--lisp/epa-ks.el4
-rw-r--r--lisp/eshell/em-glob.el2
-rw-r--r--lisp/frame.el2
-rw-r--r--lisp/hexl.el2
-rw-r--r--lisp/hilit-chg.el1
-rw-r--r--lisp/imenu.el2
-rw-r--r--lisp/international/mule.el2
-rw-r--r--lisp/org/ox.el2
-rw-r--r--lisp/progmodes/cperl-mode.el2
-rw-r--r--lisp/progmodes/flymake.el2
-rw-r--r--lisp/progmodes/hideif.el4
-rw-r--r--lisp/progmodes/python.el4
-rw-r--r--lisp/tar-mode.el2
-rw-r--r--lisp/vc/add-log.el2
-rw-r--r--test/lisp/electric-tests.el2
20 files changed, 23 insertions, 25 deletions
diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el
index 736fb7d99d6..7a65777d323 100644
--- a/lisp/allout-widgets.el
+++ b/lisp/allout-widgets.el
@@ -312,7 +312,7 @@ enhancements, directly.")
312(defvar-local allout-inhibit-body-modification-hook nil 312(defvar-local allout-inhibit-body-modification-hook nil
313 "Override de-escaping of text-prefixes in item bodies during specific changes. 313 "Override de-escaping of text-prefixes in item bodies during specific changes.
314 314
315This is used by `allout-buffer-modification-handler' to signal such changes 315This is used by `allout-body-modification-handler' to signal such changes
316to `allout-body-modification-handler', and is always reset by 316to `allout-body-modification-handler', and is always reset by
317`allout-post-command-business'.") 317`allout-post-command-business'.")
318;;;_ = allout-widgets-icons-cache 318;;;_ = allout-widgets-icons-cache
@@ -2180,7 +2180,7 @@ Operation is inhibited by `allout-inhibit-body-modification-handler'."
2180;; `allout-before-modification-handler' and 2180;; `allout-before-modification-handler' and
2181;; `allout-inhibit-body-modification-handler'. 2181;; `allout-inhibit-body-modification-handler'.
2182;; 2182;;
2183;; Adds the overlay to the `allout-unresolved-body-mod-workhash' during 2183;; Adds the overlay to the `allout-unresolved-body-mod-workroster' during
2184;; before-change operation, and removes from that list during after-change 2184;; before-change operation, and removes from that list during after-change
2185;; operation. 2185;; operation.
2186 (cond (allout-inhibit-body-modification-hook nil))) 2186 (cond (allout-inhibit-body-modification-hook nil)))
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 97a122b7bcf..f66c4935d70 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -677,7 +677,7 @@ will use an up-to-date value of `auto-revert-interval'."
677;; 677;;
678;; We do this by reverting immediately in response to the first in a 678;; We do this by reverting immediately in response to the first in a
679;; flurry of notifications. Any notifications during the following 679;; flurry of notifications. Any notifications during the following
680;; `auto-revert-lockout-interval' seconds are noted but not acted upon 680;; `auto-revert--lockout-interval' seconds are noted but not acted upon
681;; until the end of that interval. 681;; until the end of that interval.
682 682
683(defconst auto-revert--lockout-interval 2.5 683(defconst auto-revert--lockout-interval 2.5
diff --git a/lisp/cedet/ede/autoconf-edit.el b/lisp/cedet/ede/autoconf-edit.el
index faf50edaa13..e7a15220550 100644
--- a/lisp/cedet/ede/autoconf-edit.el
+++ b/lisp/cedet/ede/autoconf-edit.el
@@ -34,8 +34,7 @@
34 "Initialize a new configure.ac in ROOTDIR for PROGRAM using TESTFILE. 34 "Initialize a new configure.ac in ROOTDIR for PROGRAM using TESTFILE.
35ROOTDIR is the root directory of a given autoconf controlled project. 35ROOTDIR is the root directory of a given autoconf controlled project.
36PROGRAM is the program to be configured. 36PROGRAM is the program to be configured.
37TESTFILE is the file used with AC_INIT. 37TESTFILE is the file used with AC_INIT."
38Configure the initial configure script using `autoconf-new-automake-string'."
39 (interactive "DRoot Dir: \nsProgram: \nsTest File: ") 38 (interactive "DRoot Dir: \nsProgram: \nsTest File: ")
40 (require 'ede/srecode) 39 (require 'ede/srecode)
41 (if (bufferp rootdir) 40 (if (bufferp rootdir)
diff --git a/lisp/emacs-lisp/benchmark.el b/lisp/emacs-lisp/benchmark.el
index c5f621c6c86..7535f0e2f51 100644
--- a/lisp/emacs-lisp/benchmark.el
+++ b/lisp/emacs-lisp/benchmark.el
@@ -70,7 +70,7 @@ number of repetitions actually used."
70 70
71(defun benchmark--adaptive (func time) 71(defun benchmark--adaptive (func time)
72 "Measure the run time of FUNC, calling it enough times to last TIME seconds. 72 "Measure the run time of FUNC, calling it enough times to last TIME seconds.
73Result is (REPETITIONS . DATA) where DATA is as returned by `branchmark-call'." 73Result is (REPETITIONS . DATA) where DATA is as returned by `benchmark-call'."
74 (named-let loop ((repetitions 1) 74 (named-let loop ((repetitions 1)
75 (data (let ((x (list 0))) (setcdr x x) x))) 75 (data (let ((x (list 0))) (setcdr x x) x)))
76 ;; (message "Running %d iteration" repetitions) 76 ;; (message "Running %d iteration" repetitions)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 7629e190401..21cd747518f 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1666,7 +1666,7 @@ URLs."
1666 (seq "(" (* (not ")")) ")"))) 1666 (seq "(" (* (not ")")) ")")))
1667 ")"))) 1667 ")")))
1668 "" 1668 ""
1669 ;; Heuristic: We can't reliably do `subsititute-command-keys' 1669 ;; Heuristic: We can't reliably do `substitute-command-keys'
1670 ;; substitutions, since the value of a keymap in general can't be 1670 ;; substitutions, since the value of a keymap in general can't be
1671 ;; known at compile time. So instead, we assume that these 1671 ;; known at compile time. So instead, we assume that these
1672 ;; substitutions are of some length N. 1672 ;; substitutions are of some length N.
diff --git a/lisp/epa-ks.el b/lisp/epa-ks.el
index 8ece09d1488..fc32061449d 100644
--- a/lisp/epa-ks.el
+++ b/lisp/epa-ks.el
@@ -41,7 +41,7 @@
41(defcustom epa-keyserver "pgp.mit.edu" 41(defcustom epa-keyserver "pgp.mit.edu"
42 "Domain of keyserver. 42 "Domain of keyserver.
43 43
44This is used by `epa-ks-lookup-key', for looking up public keys." 44This is used by `epa-search-keys', for looking up public keys."
45 :type '(choice :tag "Keyserver" 45 :type '(choice :tag "Keyserver"
46 (repeat :tag "Random pool" 46 (repeat :tag "Random pool"
47 (string :tag "Keyserver address")) 47 (string :tag "Keyserver address"))
@@ -182,7 +182,7 @@ If EXACT is non-nil, don't accept approximate matches."
182 "Prepare KEYS for `tabulated-list-mode', for buffer BUF. 182 "Prepare KEYS for `tabulated-list-mode', for buffer BUF.
183 183
184KEYS is a list of `epa-ks-key' structures, as parsed by 184KEYS is a list of `epa-ks-key' structures, as parsed by
185`epa-ks-parse-result'." 185`epa-ks--parse-buffer'."
186 (when (buffer-live-p buf) 186 (when (buffer-live-p buf)
187 (let (entries) 187 (let (entries)
188 (dolist (key keys) 188 (dolist (key keys)
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el
index 842f27a4920..a94fb276b83 100644
--- a/lisp/eshell/em-glob.el
+++ b/lisp/eshell/em-glob.el
@@ -198,7 +198,7 @@ The basic syntax is:
198 [a-b] [a-b] matches a character or range 198 [a-b] [a-b] matches a character or range
199 [^a] [^a] excludes a character or range 199 [^a] [^a] excludes a character or range
200 200
201If any characters in PATTERN have the text property `eshell-escaped' 201If any characters in PATTERN have the text property `escaped'
202set to true, then these characters will match themselves in the 202set to true, then these characters will match themselves in the
203resulting regular expression." 203resulting regular expression."
204 (let ((matched-in-pattern 0) ; How much of PATTERN handled 204 (let ((matched-in-pattern 0) ; How much of PATTERN handled
diff --git a/lisp/frame.el b/lisp/frame.el
index a6b0f17189f..96914cd2b25 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1776,7 +1776,7 @@ of frames like calls to map a frame or change its visibility."
1776 (insert (format ", DS=%sx%s" (nth 0 item) (nth 1 item)))) 1776 (insert (format ", DS=%sx%s" (nth 0 item) (nth 1 item))))
1777 (insert "\n")) 1777 (insert "\n"))
1778 ((and (eq (nth 0 item) frame) (= (nth 1 item) 5)) 1778 ((and (eq (nth 0 item) frame) (= (nth 1 item) 5))
1779 ;; Length 5 is an `adjust-frame-size' item. 1779 ;; Length 5 is an 'adjust_frame_size' item.
1780 (insert (format "%s (%s)" (nth 3 item) (nth 2 item))) 1780 (insert (format "%s (%s)" (nth 3 item) (nth 2 item)))
1781 (setq item (nth 0 (cdr entry))) 1781 (setq item (nth 0 (cdr entry)))
1782 (unless (and (= (nth 0 item) (nth 2 item)) 1782 (unless (and (= (nth 0 item) (nth 2 item))
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 7f965486eae..b8d25bfb1f0 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -687,7 +687,7 @@ If there is no byte at the target address move to the last byte in that line."
687 687
688(defun hexl-beginning-of-buffer (arg) 688(defun hexl-beginning-of-buffer (arg)
689 "Move to the beginning of the hexl buffer. 689 "Move to the beginning of the hexl buffer.
690Leaves `hexl-mark' at previous position. 690Leaves mark at previous position.
691With prefix arg N, puts point N bytes of the way from the true beginning." 691With prefix arg N, puts point N bytes of the way from the true beginning."
692 (interactive "p") 692 (interactive "p")
693 (push-mark) 693 (push-mark)
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index 10e2512e9d9..b245d9df16d 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -118,7 +118,6 @@
118;; 118;;
119;; Other interactive functions (that could be bound if desired): 119;; Other interactive functions (that could be bound if desired):
120;; `highlight-changes-mode' 120;; `highlight-changes-mode'
121;; `highlight-changes-toggle-visibility'
122;; `highlight-changes-remove-highlight' 121;; `highlight-changes-remove-highlight'
123;; `highlight-compare-with-file' 122;; `highlight-compare-with-file'
124;; `highlight-compare-buffers' 123;; `highlight-compare-buffers'
diff --git a/lisp/imenu.el b/lisp/imenu.el
index a87860f0065..c18b5f00a6e 100644
--- a/lisp/imenu.el
+++ b/lisp/imenu.el
@@ -310,7 +310,7 @@ element recalculates the buffer's index alist.")
310 310
311(defvar imenu--history-list nil 311(defvar imenu--history-list nil
312 ;; Making this buffer local caused it not to work! 312 ;; Making this buffer local caused it not to work!
313 "History list for `jump-to-function-in-buffer'.") 313 "History list for `imenu-choose-buffer-index'.")
314 314
315;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 315;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
316;;; 316;;;
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 8978a97e793..2788a93a5ad 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -755,7 +755,7 @@ VALUE must be a translation table to use on encoding.
755 755
756VALUE must be a function to call after some text is inserted and 756VALUE must be a function to call after some text is inserted and
757decoded by the coding system itself and before any functions in 757decoded by the coding system itself and before any functions in
758`after-insert-functions' are called. This function is passed one 758`after-insert-file-functions' are called. This function is passed one
759argument: the number of characters in the text to convert, with 759argument: the number of characters in the text to convert, with
760point at the start of the text. The function should leave point 760point at the start of the text. The function should leave point
761and the match data unchanged, and should return the new character 761and the match data unchanged, and should return the new character
diff --git a/lisp/org/ox.el b/lisp/org/ox.el
index a6209ee98f6..6316c687db2 100644
--- a/lisp/org/ox.el
+++ b/lisp/org/ox.el
@@ -4605,7 +4605,7 @@ from the export back-end."
4605;; a given element, excluded. Note: "-n" switches reset that count. 4605;; a given element, excluded. Note: "-n" switches reset that count.
4606;; 4606;;
4607;; `org-export-unravel-code' extracts source code (along with a code 4607;; `org-export-unravel-code' extracts source code (along with a code
4608;; references alist) from an `element-block' or `src-block' type 4608;; references alist) from an `example-block' or `src-block' type
4609;; element. 4609;; element.
4610;; 4610;;
4611;; `org-export-format-code' applies a formatting function to each line 4611;; `org-export-format-code' applies a formatting function to each line
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 04e4a62c607..eaedf987c5e 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -3188,7 +3188,7 @@ Returns true if comment is found. In POD will not move the point."
3188Mark as generic string if STRING, as generic comment otherwise. 3188Mark as generic string if STRING, as generic comment otherwise.
3189A single character is marked as punctuation and directly 3189A single character is marked as punctuation and directly
3190fontified. Do nothing if BEGIN and END are equal. If 3190fontified. Do nothing if BEGIN and END are equal. If
3191`cperl-use-syntax-text-property' is nil, just fontify." 3191`cperl-use-syntax-table-text-property' is nil, just fontify."
3192 (if (and cperl-use-syntax-table-text-property 3192 (if (and cperl-use-syntax-table-text-property
3193 (> end begin)) 3193 (> end begin))
3194 (progn 3194 (progn
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 1e9f3e1f9bb..de98e0458b7 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1526,7 +1526,7 @@ POS can be a buffer position or a button"
1526 (flymake-show-diagnostic (if (button-type pos) (button-start pos) pos)))) 1526 (flymake-show-diagnostic (if (button-type pos) (button-start pos) pos))))
1527 1527
1528(defun flymake--tabulated-entries-1 (diags project-root) 1528(defun flymake--tabulated-entries-1 (diags project-root)
1529 "Helper for `flymake--diagnostic-buffer-entries'. 1529 "Helper for `flymake--diagnostics-buffer-entries'.
1530PROJECT-ROOT indicates that each entry should be preceded by the 1530PROJECT-ROOT indicates that each entry should be preceded by the
1531filename of the diagnostic relative to that directory." 1531filename of the diagnostic relative to that directory."
1532 (cl-loop 1532 (cl-loop
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index f6a4711e244..8eee8bd0929 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -413,7 +413,7 @@ overlays created."
413 ;; hidden with `hide-ifdef-lines' equals to nil while another part with 't, 413 ;; hidden with `hide-ifdef-lines' equals to nil while another part with 't,
414 ;; this case happens. 414 ;; this case happens.
415 ;; TODO: Should we merge? or just create a container overlay? -- this can 415 ;; TODO: Should we merge? or just create a container overlay? -- this can
416 ;; prevent `hideif-show-ifdef' expanding too many hidden contents since there 416 ;; prevent `show-ifdefs' expanding too many hidden contents since there
417 ;; is only a big overlay exists there without any smaller overlays. 417 ;; is only a big overlay exists there without any smaller overlays.
418 (save-restriction 418 (save-restriction
419 (widen) ; Otherwise `point-min' and `point-max' will be restricted and thus 419 (widen) ; Otherwise `point-min' and `point-max' will be restricted and thus
@@ -733,7 +733,7 @@ Assuming we've just regexp-matched with `hif-decfloat-regexp' and it matched.
733if REMATCH is t, do a rematch." 733if REMATCH is t, do a rematch."
734 ;; In elisp `(string-to-number "01.e2")' will return 1 instead of the expected 734 ;; In elisp `(string-to-number "01.e2")' will return 1 instead of the expected
735 ;; 100.0; therefore we need to write our own. 735 ;; 100.0; therefore we need to write our own.
736 ;; This function relies on the regexp groups of `hif-dexfloat-regexp' 736 ;; This function relies on the regexp groups of `hif-hexfloat-regexp'
737 (if (or fix exp) 737 (if (or fix exp)
738 (setq fix (hif-delete-char-in-string ?' fix) 738 (setq fix (hif-delete-char-in-string ?' fix)
739 exp (hif-delete-char-in-string ?' exp)) 739 exp (hif-delete-char-in-string ?' exp))
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f7f1784b172..d73c1d4b239 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2909,8 +2909,8 @@ interpreter is run. Variables
2909`python-shell-font-lock-enable', 2909`python-shell-font-lock-enable',
2910`python-shell-completion-setup-code', 2910`python-shell-completion-setup-code',
2911`python-shell-completion-string-code', 2911`python-shell-completion-string-code',
2912`python-eldoc-setup-code', `python-eldoc-string-code', 2912`python-eldoc-setup-code',
2913`python-ffap-setup-code' and `python-ffap-string-code' can 2913`python-ffap-setup-code' can
2914customize this mode for different Python interpreters. 2914customize this mode for different Python interpreters.
2915 2915
2916This mode resets `comint-output-filter-functions' locally, so you 2916This mode resets `comint-output-filter-functions' locally, so you
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index d9085323d9a..c59536e85a1 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -169,7 +169,7 @@ This information is useful, but it takes screen space away from file names."
169 169
170(defun tar-swap-data () 170(defun tar-swap-data ()
171 "Swap buffer contents between current buffer and `tar-data-buffer'. 171 "Swap buffer contents between current buffer and `tar-data-buffer'.
172Preserve the modified states of the buffers and set `buffer-swapped-with'." 172Preserve the modified states of the buffers and set `tar-data-swapped'."
173 (let ((data-buffer-modified-p (buffer-modified-p tar-data-buffer)) 173 (let ((data-buffer-modified-p (buffer-modified-p tar-data-buffer))
174 (current-buffer-modified-p (buffer-modified-p))) 174 (current-buffer-modified-p (buffer-modified-p)))
175 (buffer-swap-text tar-data-buffer) 175 (buffer-swap-text tar-data-buffer)
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el
index 8b55a78f84d..ab67f450a43 100644
--- a/lisp/vc/add-log.el
+++ b/lisp/vc/add-log.el
@@ -812,7 +812,7 @@ if it were to exist."
812 812
813(defun add-log-find-changelog-buffer (changelog-file-name) 813(defun add-log-find-changelog-buffer (changelog-file-name)
814 "Find a ChangeLog buffer for CHANGELOG-FILE-NAME. 814 "Find a ChangeLog buffer for CHANGELOG-FILE-NAME.
815Respect `add-log-use-pseudo-changelog', which see." 815Respect `add-log--pseudo-changelog-buffer-name', which see."
816 (if (or (file-exists-p changelog-file-name) 816 (if (or (file-exists-p changelog-file-name)
817 (not add-log-dont-create-changelog-file)) 817 (not add-log-dont-create-changelog-file))
818 (find-file-noselect changelog-file-name) 818 (find-file-noselect changelog-file-name)
diff --git a/test/lisp/electric-tests.el b/test/lisp/electric-tests.el
index 1263767476e..efa42429b37 100644
--- a/test/lisp/electric-tests.el
+++ b/test/lisp/electric-tests.el
@@ -909,7 +909,7 @@ baz\"\""
909 (should (equal (buffer-string) "int main () {\n \n}")))) 909 (should (equal (buffer-string) "int main () {\n \n}"))))
910 910
911(ert-deftest electric-layout-control-reindentation () 911(ert-deftest electric-layout-control-reindentation ()
912 "Same as `emacs-lisp-int-main-kernel-style', but checking 912 "Same as `electric-layout-int-main-kernel-style', but checking
913Bug#35254." 913Bug#35254."
914 (ert-with-test-buffer () 914 (ert-with-test-buffer ()
915 (plainer-c-mode) 915 (plainer-c-mode)