Backport commit 725a3f32f from Emacs

; Fix typos in symbol names
725a3f32f8ba78ac5fffcd03be5b82cbc2c1b275
Stefan Kangas
Sun Jan 14 15:16:54 2024 +0100
This commit is contained in:
Stefan Kangas 2024-01-14 14:56:06 +01:00 committed by Kyle Meyer
parent 6e0fdd1714
commit 50183ada86
4 changed files with 4 additions and 4 deletions

View File

@ -6556,7 +6556,7 @@ the expected result."
(error "org-element: Parsing aborted by user. Cache has been cleared. (error "org-element: Parsing aborted by user. Cache has been cleared.
If you observe Emacs hangs frequently, please report this to Org mode mailing list (M-x org-submit-bug-report).")) If you observe Emacs hangs frequently, please report this to Org mode mailing list (M-x org-submit-bug-report)."))
(message (substitute-command-keys (message (substitute-command-keys
"`org-element--parse-buffer': Suppressed `\\[keyboard-quit]'. Press `\\[keyboard-quit]' %d more times to force interruption.") "`org-element--parse-to': Suppressed `\\[keyboard-quit]'. Press `\\[keyboard-quit]' %d more times to force interruption.")
(- org-element--cache-interrupt-C-g-max-count (- org-element--cache-interrupt-C-g-max-count
org-element--cache-interrupt-C-g-count))) org-element--cache-interrupt-C-g-count)))
(unless element (unless element

View File

@ -433,7 +433,7 @@ Return nil when there is no matching folding spec."
(org-fold-core-get-folding-spec-from-alias spec-or-alias)) (org-fold-core-get-folding-spec-from-alias spec-or-alias))
(defsubst org-fold-core--check-spec (spec-or-alias) (defsubst org-fold-core--check-spec (spec-or-alias)
"Throw an error if SPEC-OR-ALIAS is not in `org-fold-core--spec-priority-list'." "Throw an error if SPEC-OR-ALIAS is not in `org-fold-core-folding-spec-list'."
(unless (org-fold-core-folding-spec-p spec-or-alias) (unless (org-fold-core-folding-spec-p spec-or-alias)
(error "%s is not a valid folding spec" spec-or-alias))) (error "%s is not a valid folding spec" spec-or-alias)))

View File

@ -1072,7 +1072,7 @@ Return width in pixels when PIXELS is non-nil."
;; FIXME: Fallback to old limited version, because ;; FIXME: Fallback to old limited version, because
;; `window-pixel-width' is buggy in older Emacs. ;; `window-pixel-width' is buggy in older Emacs.
(org--string-width-1 string) (org--string-width-1 string)
;; Wrap/line prefix will make `window-text-pizel-size' return too ;; Wrap/line prefix will make `window-text-pixel-size' return too
;; large value including the prefix. ;; large value including the prefix.
(remove-text-properties 0 (length string) (remove-text-properties 0 (length string)
'(wrap-prefix t line-prefix t) '(wrap-prefix t line-prefix t)

View File

@ -3667,7 +3667,7 @@ CONTENTS is the contents of the object."
;; takes care of tables with a "verbatim" mode. Otherwise, it ;; takes care of tables with a "verbatim" mode. Otherwise, it
;; delegates the job to either `org-latex--table.el-table', ;; delegates the job to either `org-latex--table.el-table',
;; `org-latex--org-table', `org-latex--math-table' or ;; `org-latex--org-table', `org-latex--math-table' or
;; `org-latex--org-tabbing' functions, ;; `org-latex--org-align-string-tabbing' functions,
;; depending of the type of the table and the mode requested. ;; depending of the type of the table and the mode requested.
;; ;;
;; `org-latex--align-string' is a subroutine used to build alignment ;; `org-latex--align-string' is a subroutine used to build alignment