1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

; Fix typos

This commit is contained in:
Stefan Kangas 2025-01-19 13:59:13 +01:00
parent e682fd2d5b
commit 702cb123fa
40 changed files with 70 additions and 57 deletions

View file

@ -1789,3 +1789,16 @@ ine\\(?:-global\\)?-minor-mode\\|ine-compilation-mode\\|un-cvs-mode\\|\
(oarticle (make-symbol "gnus-setup-message-oarticle")) (oarticle (make-symbol "gnus-setup-message-oarticle"))
(,oarticle gnus-article-reply) (,oarticle gnus-article-reply)
(gnus-inews-add-send-actions ,winconf ,buffer ,oarticle ,config (gnus-inews-add-send-actions ,winconf ,buffer ,oarticle ,config
Thur, Fri, Sat, Sun
[3]: Merget, Brinkmann, Aviram, Somorovsky, Mittmann, and
(ansi-color-cyan :short "ansi-cyan" :slug "anc" :foreground ,fg-term-cyan)
(ansi-color-bright-cyan :short "ansi-bright-cyan" :slug "ANc" :foreground ,fg-term-cyan-bright)
(search-forward "foo.correc")
"Your finger was not centred, try swiping your finger again"
(ofrom (marker-position (widget-get group :from)))
(should (= ofrom (widget-get group :from)))
(ofrom (marker-position (widget-get group :from)))
(should (= ofrom (widget-get group :from)))
(should (equal (cl-subseq "hello world" -5 -1) "worl"))
("\\.te?xi\\'" . texinfo-mode)
("\\.te?xt\\'" . text-mode)

View file

@ -219,7 +219,7 @@ queries that has problems with latest grammar."
(special-mode)))) (special-mode))))
(defun treesit-admin-verify-major-mode-queries () (defun treesit-admin-verify-major-mode-queries ()
"Varify font-lock queries in builtin major modes. "Verify font-lock queries in builtin major modes.
If the font-lock queries work fine with the latest grammar, insert some If the font-lock queries work fine with the latest grammar, insert some
comments in the source file saying that the modes are known to work with comments in the source file saying that the modes are known to work with
@ -296,7 +296,7 @@ instead.
Return a plist of the form Return a plist of the form
(:version VERSION :head-version HEAD-VERSION :timstamp TIMESTAMP). (:version VERSION :head-version HEAD-VERSION :timestamp TIMESTAMP).
HEAD-VERSION is the version of the HEAD, VERSION is the latest HEAD-VERSION is the version of the HEAD, VERSION is the latest
compatible version. TIMESTAMP is the commit date of VERSION in UNIX compatible version. TIMESTAMP is the commit date of VERSION in UNIX
@ -371,14 +371,14 @@ VERSION and HEAD-VERSION in the plist are the same as in
(defun treesit-admin--generate-compatibility-report (defun treesit-admin--generate-compatibility-report
(emacs-executables modes out-file) (emacs-executables modes out-file)
"Generate a table for language compatibiity for MODES. "Generate a table for language compatibility for MODES.
Note that this only works for Emacs 31 and later, because before Emacs Note that this only works for Emacs 31 and later, because before Emacs
31 we can't validate a compiled query (because there's a bug preventing 31 we can't validate a compiled query (because there's a bug preventing
us from eager compiling a compiled query that's already lazily us from eager compiling a compiled query that's already lazily
compiled). compiled).
EMACS-EXECUTABLES is a list of Emacs executbles to check for." EMACS-EXECUTABLES is a list of Emacs executables to check for."
(let ((tables (let ((tables
(mapcar (mapcar
(lambda (emacs) (lambda (emacs)

View file

@ -589,7 +589,7 @@ images, and this image will be put on the clipboard. On capable
platforms, Emacs can yank these objects with the @code{yank-media} platforms, Emacs can yank these objects with the @code{yank-media}
command---but only in modes that have support for it. By default, it command---but only in modes that have support for it. By default, it
auto-selects the preferred media type available in the clipboard but auto-selects the preferred media type available in the clipboard but
this can be overriden by giving the prefix argument to the command this can be overridden by giving the prefix argument to the command
(@pxref{Yanking Media,,, elisp, The Emacs Lisp Reference Manual}). (@pxref{Yanking Media,,, elisp, The Emacs Lisp Reference Manual}).
@cindex clipboard manager @cindex clipboard manager

View file

@ -963,7 +963,7 @@ the format to use.
@cindex @code{staticpro}, protection from GC @cindex @code{staticpro}, protection from GC
If you directly define a file-scope C variable of type If you directly define a file-scope C variable of type
@code{Lisp_Object}, you must protect it from garbage-collection by @code{Lisp_Object}, you must protect it from garbage collection by
calling @code{staticpro} in @code{syms_of_@var{filename}}, like this: calling @code{staticpro} in @code{syms_of_@var{filename}}, like this:
@example @example

View file

@ -171,7 +171,7 @@ the symbol name with first letter capitalized. For languages that has
``irregular'' names, @var{treesit-language-display-name-alist} maps ``irregular'' names, @var{treesit-language-display-name-alist} maps
language symbols to their display names. language symbols to their display names.
If a major mode package uses a langauge with ``irregular'' name, they If a major mode package uses a language with ``irregular'' name, they
should add a mapping into @var{treesit-language-display-name-alist} on should add a mapping into @var{treesit-language-display-name-alist} on
load. load.
@end defun @end defun

View file

@ -4188,7 +4188,7 @@ position of a later line. Instead, that anchor position is the latest
line at the same level of nesting before the labeled line without a line at the same level of nesting before the labeled line without a
leading label or comment. If there is no such line, the latest line leading label or comment. If there is no such line, the latest line
containing an enclosing opening brace or parenthesis, which doesn't containing an enclosing opening brace or parenthesis, which doesn't
start with a label or comment, provides the anchor postion. In this start with a label or comment, provides the anchor position. In this
case extra syntactic element(s) with syntactic symbol case extra syntactic element(s) with syntactic symbol
@code{defun-block-intro}, @code{statement-block-intro}, or some other @code{defun-block-intro}, @code{statement-block-intro}, or some other
``-intro'' symbol are inserted into the syntactic context to allow the ``-intro'' symbol are inserted into the syntactic context to allow the

View file

@ -6239,7 +6239,7 @@ as above in your @file{~/.emacs}:
@item @item
I get an error @samp{unix_listener: path I get an error @samp{unix_listener: path
"/very/long/path/.cache/emacs/tramp.XXX" too long for Unix domain "/very/long/path/.cache/emacs/tramp.XXX" too long for Unix domain
socket} when connectiong via @option{ssh} to a remote host. socket} when connecting via @option{ssh} to a remote host.
@vindex small-temporary-file-directory @vindex small-temporary-file-directory
By default, @value{tramp} uses the directory @file{~/.cache/emacs/} By default, @value{tramp} uses the directory @file{~/.cache/emacs/}

View file

@ -348,7 +348,7 @@ This input method has support for polytonic and archaic Greek
characters. characters.
--- ---
*** New language-environment and input method for Tifinagh. *** New language environment and input method for Tifinagh.
The Tifinagh script is used to write the Berber languages. The Tifinagh script is used to write the Berber languages.
--- ---
@ -473,8 +473,8 @@ a web browser to load them. For example, it could be used like this:
(add-to-list 'browse-url-transform-alist (add-to-list 'browse-url-transform-alist
'("www.google.com" . "www.duckduckgo.com")) '("www.google.com" . "www.duckduckgo.com"))
*** New function 'browse-url-qutebrowser' for the Qutebrowser. *** New function 'browse-url-qutebrowser' for Qutebrowser.
For better integration with the Qutebrowser, set For better integration with Qutebrowser, set
'browse-url(-secondary)-browser-function' to 'browse-url-qutebrowser'. 'browse-url(-secondary)-browser-function' to 'browse-url-qutebrowser'.
*** New GTK-native launch mode. *** New GTK-native launch mode.
@ -1262,7 +1262,7 @@ observed on Android).
+++ +++
*** 'yank-media' now auto-selects the most preferred MIME type. *** 'yank-media' now auto-selects the most preferred MIME type.
Major-mode authors can customise the variables Major-mode authors can customize the variables
'yank-media-autoselect-function' and/or 'yank-media-preferred-types' to 'yank-media-autoselect-function' and/or 'yank-media-preferred-types' to
change the selection rules. change the selection rules.

View file

@ -1559,7 +1559,7 @@ either an internal or external browser.
If a remote file is specified, a local temporary copy of that file is If a remote file is specified, a local temporary copy of that file is
passed to the browser. passed to the browser.
*** Support for the conkeror browser is now obsolete. *** Support for the Conkeror browser is now obsolete.
*** Support for the Mosaic browser has been removed. *** Support for the Mosaic browser has been removed.
This support has been obsolete since 25.1. This support has been obsolete since 25.1.

View file

@ -5568,7 +5568,7 @@ the end of the string.
*** Function ~org-info-export~ changes. *** Function ~org-info-export~ changes.
HTML links created from certain info links now point to =gnu.org= URL's rather HTML links created from certain info links now point to =gnu.org= URLs rather
than just to local files. For example info links such as =info:emacs#List than just to local files. For example info links such as =info:emacs#List
Buffers= used to be converted to HTML links like this: Buffers= used to be converted to HTML links like this:

View file

@ -196,7 +196,7 @@ See `auth-source-pass-get'."
"Return a string with the file content of ENTRY." "Return a string with the file content of ENTRY."
(with-temp-buffer (with-temp-buffer
;; `file-name-handler-alist' could be nil, or miss the ;; `file-name-handler-alist' could be nil, or miss the
;; `epa-file-handler' entry. We ensure, that it does exist. ;; `epa-file-handler' entry. We ensure that it does exist.
;; (Bug#67937) ;; (Bug#67937)
(let ((file-name-handler-alist (let ((file-name-handler-alist
(cons epa-file-handler file-name-handler-alist))) (cons epa-file-handler file-name-handler-alist)))

View file

@ -420,7 +420,7 @@ The format is an alist, with string keys ABBREV-UNIT, and elements like:
(ABBREV-UNIT UNIT UNIT-PLURAL SECS) (ABBREV-UNIT UNIT UNIT-PLURAL SECS)
where UNIT is a unit of time, ABBREV-UNIT is the abreviated form of where UNIT is a unit of time, ABBREV-UNIT is the abbreviated form of
UNIT, UNIT-PLURAL is the plural form of UNIT, and SECS is the number of UNIT, UNIT-PLURAL is the plural form of UNIT, and SECS is the number of
seconds per UNIT.") seconds per UNIT.")

View file

@ -112,7 +112,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
(princ "\nBox vertical line glyph: ") (princ "\nBox vertical line glyph: ")
(prin1 (display-table-slot dt 'box-vertical)) (prin1 (display-table-slot dt 'box-vertical))
(princ "\nBox horizonal line glyph: ") (princ "\nBox horizontal line glyph: ")
(prin1 (display-table-slot dt 'box-horizontal)) (prin1 (display-table-slot dt 'box-horizontal))
(princ "\nBox upper left corner glyph: ") (princ "\nBox upper left corner glyph: ")
(prin1 (display-table-slot dt 'box-down-right)) (prin1 (display-table-slot dt 'box-down-right))
@ -125,7 +125,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
(princ "\nBox double vertical line glyph: ") (princ "\nBox double vertical line glyph: ")
(prin1 (display-table-slot dt 'box-double-vertical)) (prin1 (display-table-slot dt 'box-double-vertical))
(princ "\nBox double horizonal line glyph: ") (princ "\nBox double horizontal line glyph: ")
(prin1 (display-table-slot dt 'box-double-horizontal)) (prin1 (display-table-slot dt 'box-double-horizontal))
(princ "\nBox double upper left corner glyph: ") (princ "\nBox double upper left corner glyph: ")
(prin1 (display-table-slot dt 'box-double-down-right)) (prin1 (display-table-slot dt 'box-double-down-right))

View file

@ -286,7 +286,7 @@ This function is considered deprecated in favor of the built-in function
"Return t if INTEGER is odd. "Return t if INTEGER is odd.
This function is considered deprecated in favor of the built-in function This function is considered deprecated in favor of the built-in function
`evenp' that was added in Emacs 31.1.") `oddp' that was added in Emacs 31.1.")
(defalias 'cl-evenp #'evenp (defalias 'cl-evenp #'evenp
"Return t if INTEGER is even. "Return t if INTEGER is even.

View file

@ -4525,7 +4525,7 @@ of an installed ELPA package.
The return value is a string (or nil in case we can't find it). The return value is a string (or nil in case we can't find it).
It works in more cases if the call is in the file which contains It works in more cases if the call is in the file which contains
the `Version:' header." the `Version:' header."
;; In a sense, this is a lie, but it does just what we want: precompute ;; In a sense, this is a lie, but it does just what we want: precomputes
;; the version at compile time and hardcodes it into the .elc file! ;; the version at compile time and hardcodes it into the .elc file!
(declare (pure t)) (declare (pure t))
;; Hack alert! ;; Hack alert!

View file

@ -403,7 +403,7 @@ If CANCEL-ON-INPUT is non-nil and the user inputs something while the
function is waiting, then any future replies to the request by the function is waiting, then any future replies to the request by the
remote endpoint (normal or error) are ignored and the function exits remote endpoint (normal or error) are ignored and the function exits
returning CANCEL-ON-INPUT-RETVAL. If CANCEL-ON-INPUT is a function, it returning CANCEL-ON-INPUT-RETVAL. If CANCEL-ON-INPUT is a function, it
is invoked with one argument, an integer identifying the cancelled is invoked with one argument, an integer identifying the canceled
request as specified in the JSONRPC 2.0 spec." request as specified in the JSONRPC 2.0 spec."
(let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer
canceled canceled

View file

@ -356,7 +356,7 @@ for `smtpmail-try-auth-method'.")
(erase-buffer)))) (erase-buffer))))
;; Encode the header according to RFC2047. ;; Encode the header according to RFC2047.
(mail-encode-header (point-min) delimline) (mail-encode-header (point-min) delimline)
;; Get recipients' adresses ;; Get recipients' addresses
(setq smtpmail-recipient-address-list (setq smtpmail-recipient-address-list
(smtpmail-deduce-address-list tembuf (point-min) delimline)) (smtpmail-deduce-address-list tembuf (point-min) delimline))

View file

@ -417,7 +417,7 @@ were rampant use of small subgroup prime or composite number for DHE by
many servers, and thus allowed themselves to be vulnerable to many servers, and thus allowed themselves to be vulnerable to
backdoors[1]. Given the difficulty in validating Diffie-Hellman backdoors[1]. Given the difficulty in validating Diffie-Hellman
parameters, major browser vendors had started to remove DHE since parameters, major browser vendors had started to remove DHE since
2016[2]. In 2020, the so-called Racoon Attack was discovered, a 2016[2]. In 2020, the so-called Raccoon Attack was discovered, a
server-side vulnerability that exploits a side-channel to get the shared server-side vulnerability that exploits a side-channel to get the shared
secret key[3]. secret key[3].

View file

@ -918,7 +918,7 @@ comment delimiters."
(when (> beg end) (setq beg (prog1 end (setq end beg)))) (when (> beg end) (setq beg (prog1 end (setq end beg))))
;; Bind `comment-use-global-state' to nil. While uncommenting a region ;; Bind `comment-use-global-state' to nil. While uncommenting a region
;; (which works a line at a time), a comment can appear to be ;; (which works a line at a time), a comment can appear to be
;; included in a mult-line string, but it is actually not. ;; included in a multi-line string, but it is actually not.
(let ((comment-use-global-state nil)) (let ((comment-use-global-state nil))
(save-excursion (save-excursion
(funcall uncomment-region-function beg end arg)))) (funcall uncomment-region-function beg end arg))))

View file

@ -538,7 +538,7 @@ characters on the current line."
;;; Baseline indent rule ;;; Baseline indent rule
(defvar c-ts-common-list-indent-style 'align (defvar c-ts-common-list-indent-style 'align
"Intructs `c-ts-common-baseline-indent-rule' how to indent lists. "Instructs `c-ts-common-baseline-indent-rule' how to indent lists.
If the value is `align', indent lists like this: If the value is `align', indent lists like this:
@ -594,7 +594,7 @@ chaining like
.method() front of the node. .method() front of the node.
But ff `treesit-simple-indent-standalone-predicate' is non-nil, use that But ff `treesit-simple-indent-standalone-predicate' is non-nil, use that
for determining standlone line." for determining standalone line."
(let (anchor) (let (anchor)
(save-excursion (save-excursion
(catch 'term (catch 'term
@ -620,7 +620,7 @@ chaining like
.method() front of the node. .method() front of the node.
But ff `treesit-simple-indent-standalone-predicate' is non-nil, use that But ff `treesit-simple-indent-standalone-predicate' is non-nil, use that
for determining standlone line." for determining standalone line."
(save-excursion (save-excursion
(setq node (treesit-node-prev-sibling node 'named)) (setq node (treesit-node-prev-sibling node 'named))
(goto-char (treesit-node-start node)) (goto-char (treesit-node-start node))
@ -710,7 +710,7 @@ The rule also handles method chaining like
(rx (or "(" "["))) (rx (or "(" "[")))
(let ((first-sibling (treesit-node-child parent 0 'named))) (let ((first-sibling (treesit-node-child parent 0 'named)))
(cond (cond
;; Closing delimeters. ;; Closing delimiters.
((treesit-node-match-p node (rx (or ")" "]"))) ((treesit-node-match-p node (rx (or ")" "]")))
(if (eq c-ts-common-list-indent-style 'align) (if (eq c-ts-common-list-indent-style 'align)
(cons (treesit-node-start (treesit-node-child parent 0)) (cons (treesit-node-start (treesit-node-child parent 0))

View file

@ -7522,7 +7522,7 @@ multi-line strings (but not C++, for example)."
"Construct a regexp for a C++ raw string opener matching CLOSER." "Construct a regexp for a C++ raw string opener matching CLOSER."
(concat "\\(R\\(\"\\)" (regexp-quote (substring closer 1 -1)) "(\\)")) (concat "\\(R\\(\"\\)" (regexp-quote (substring closer 1 -1)) "(\\)"))
;; The positions of various components of mult-line strings surrounding BEG, ;; The positions of various components of multi-line strings surrounding BEG,
;; END and (1- BEG) (of before-change-functions) as returned by ;; END and (1- BEG) (of before-change-functions) as returned by
;; `c-ml-string-delims-around-point'. ;; `c-ml-string-delims-around-point'.
(defvar c-old-beg-ml nil) (defvar c-old-beg-ml nil)

View file

@ -573,7 +573,7 @@ under cursor."
(const :tag "Call hierarchies" :callHierarchyProvider))) (const :tag "Call hierarchies" :callHierarchyProvider)))
(defcustom eglot-advertise-cancellation nil (defcustom eglot-advertise-cancellation nil
"If non-nil, Eglot attemps to inform server of cancelled requests. "If non-nil, Eglot attempts to inform server of canceled requests.
This is done by sending an additional '$/cancelRequest' notification This is done by sending an additional '$/cancelRequest' notification
every time Eglot decides to forget a request. The effect of this every time Eglot decides to forget a request. The effect of this
notification is implementation defined, and is only useful for some notification is implementation defined, and is only useful for some

View file

@ -239,7 +239,7 @@ Argument LANGUAGE is either `typescript' or `tsx'."
(ignore-errors (ignore-errors
(treesit-query-compile language queries-b t) (treesit-query-compile language queries-b t)
queries-b) queries-b)
;; Return a dummy query that doens't do anything, if neither ;; Return a dummy query that doesn't do anything, if neither
;; query works. ;; query works.
'("," @_ignore)))) '("," @_ignore))))

View file

@ -88,7 +88,7 @@ If this is a function, call it to generate the initial field text."
:risky t) :risky t)
;; The functionality provided by `bibtex-include-OPTkey' is a special case ;; The functionality provided by `bibtex-include-OPTkey' is a special case
;; of what `bibtex-aux-opt-alist' offers. Which BibTeX style files actually ;; of what `bibtex-aux-opt-alist' offers. Which BibTeX style files actually
;; use the key field? The BibTeX docomentation suggests it is used rarely. ;; use the key field? The BibTeX documentation suggests it is used rarely.
;; Under biblatex, the key field is an alias for sortkey, see Secs. 2.2.3 ;; Under biblatex, the key field is an alias for sortkey, see Secs. 2.2.3
;; and 2.2.5. ;; and 2.2.5.
(make-obsolete-variable 'bibtex-include-OPTkey (make-obsolete-variable 'bibtex-include-OPTkey

View file

@ -107,7 +107,7 @@ By default should have same value as `html-ts-mode-indent-offset'."
executable html-ts-mode-indent-offset)) executable html-ts-mode-indent-offset))
((setq executable (executable-find "xmllint")) ((setq executable (executable-find "xmllint"))
(format "%s --html --quiet --format -" executable)) (format "%s --html --quiet --format -" executable))
(t "Install tidy, ore some other HTML pretty print tool, and set `mhtml-ts-mode-pretty-print-command'."))) (t "Install tidy, or some other HTML pretty print tool, and set `mhtml-ts-mode-pretty-print-command'.")))
"The command to pretty print the current HTML buffer." "The command to pretty print the current HTML buffer."
:type 'string :type 'string
:version "31.1") :version "31.1")
@ -522,7 +522,7 @@ Powered by tree-sitter."
js--treesit-jsdoc-comment-regexp)) js--treesit-jsdoc-comment-regexp))
;; Many treesit fuctions need to know the language at-point. ;; Many treesit functions need to know the language at-point.
;; So you should define such a function. ;; So you should define such a function.
(setq-local treesit-language-at-point-function #'mhtml-ts-mode--language-at-point) (setq-local treesit-language-at-point-function #'mhtml-ts-mode--language-at-point)
(setq-local prettify-symbols-alist mhtml-ts-mode--prettify-symbols-alist) (setq-local prettify-symbols-alist mhtml-ts-mode--prettify-symbols-alist)
@ -594,7 +594,7 @@ Powered by tree-sitter."
;; Flymake ;; Flymake
(add-hook 'flymake-diagnostic-functions #'mhtml-ts-mode-flymake-mhtml nil 'local))) (add-hook 'flymake-diagnostic-functions #'mhtml-ts-mode-flymake-mhtml nil 'local)))
;; Add nome extra parents. ;; Add some extra parents.
(derived-mode-add-parents 'mhtml-ts-mode '(css-mode js-mode)) (derived-mode-add-parents 'mhtml-ts-mode '(css-mode js-mode))
(when (and (treesit-ready-p 'html) (treesit-ready-p 'javascript) (treesit-ready-p 'css)) (when (and (treesit-ready-p 'html) (treesit-ready-p 'javascript) (treesit-ready-p 'css))

View file

@ -342,7 +342,7 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'."
;; the menu entry and the keybinding by two spaces ;; the menu entry and the keybinding by two spaces
;; because we added two characters at the front (one ;; because we added two characters at the front (one
;; digit and one space) and this would cause a ;; digit and one space) and this would cause a
;; misalignement otherwise. ;; misalignment otherwise.
(tmm--shorten-space-width (tmm--shorten-space-width
(concat (propertize (char-to-string char) 'face 'highlight) (concat (propertize (char-to-string char) 'face 'highlight)
" " str))) " " str)))

View file

@ -49,7 +49,7 @@
;; so there will be more than one parser for each language in a buffer. ;; so there will be more than one parser for each language in a buffer.
;; We can also have local parser of the same language as the host ;; We can also have local parser of the same language as the host
;; parser. All of which means we can't equalize language and parser, ;; parser. All of which means we can't equalize language and parser,
;; and create paresr for a language willy-nilly anymore. Major mode ;; and create parser for a language willy-nilly anymore. Major mode
;; will manage their parsers. ;; will manage their parsers.
;;; Code: ;;; Code:
@ -1843,7 +1843,7 @@ but not in this case:
} }
The value of this variable affects the `standalone-parent' indent preset The value of this variable affects the `standalone-parent' indent preset
for treesit-simple-indent. If the value is nil, the standlone condition for treesit-simple-indent. If the value is nil, the standalone condition
is as described. Some major mode might want to relax the condition a is as described. Some major mode might want to relax the condition a
little bit, so that it ignores some punctuation like \".\". For little bit, so that it ignores some punctuation like \".\". For
example, a Javascript mode might want to consider the method call below example, a Javascript mode might want to consider the method call below
@ -2516,7 +2516,7 @@ This function only affects `treesit-simple-indent-rules',
WHERE can be either :before or :after, which means adding RULES before WHERE can be either :before or :after, which means adding RULES before
or after the existing rules in `treesit-simple-indent-rules'. If or after the existing rules in `treesit-simple-indent-rules'. If
ommited, default to adding the rules before (so it overrides existing omitted, default to adding the rules before (so it overrides existing
rules). rules).
If ANCHOR is non-nil, add RULES before/after the rules in If ANCHOR is non-nil, add RULES before/after the rules in

View file

@ -73,7 +73,7 @@ where HEIGHT and WIDTH are the normal height and width of the window.
(nreverse list))) (nreverse list)))
(defsubst window--rotate-interactive-arg () (defsubst window--rotate-interactive-arg ()
"Return interative window argument for window rotation commands." "Return interactive window argument for window rotation commands."
(if current-prefix-arg (window-parent) (window-main-window))) (if current-prefix-arg (window-parent) (window-main-window)))
;;;###autoload ;;;###autoload

View file

@ -1357,7 +1357,7 @@ buffer_local_value (Lisp_Object variable, Lisp_Object buffer)
case SYMBOL_LOCALIZED: case SYMBOL_LOCALIZED:
{ /* Look in local_var_alist. */ { /* Look in local_var_alist. */
struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym); struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym);
XSETSYMBOL (variable, sym); /* Update In case of aliasing. */ XSETSYMBOL (variable, sym); /* Update in case of aliasing. */
result = assq_no_quit (variable, BVAR (buf, local_var_alist)); result = assq_no_quit (variable, BVAR (buf, local_var_alist));
if (!NILP (result)) if (!NILP (result))
{ {

View file

@ -3514,7 +3514,7 @@ make_matrix_current (struct frame *f)
/* Prepare ROOT's desired row at index Y for copying child frame /* Prepare ROOT's desired row at index Y for copying child frame
contents to it. Value is the prepared desired row or NULL if we contents to it. Value is the prepared desired row or NULL if we
don't have, and can't contruct a desired row. */ don't have, and can't construct a desired row. */
static struct glyph_row * static struct glyph_row *
prepare_desired_root_row (struct frame *root, int y) prepare_desired_root_row (struct frame *root, int y)

View file

@ -164,7 +164,7 @@ doprnt_non_null_end (char *buffer, ptrdiff_t bufsize, char const *format,
return nbytes; return nbytes;
} }
/* Format to BUFFER (of positive size BUFSIZE) data formated by FORMAT, /* Format to BUFFER (of positive size BUFSIZE) data formatted by FORMAT,
terminated at either the first NUL or (if FORMAT_END is non-null terminated at either the first NUL or (if FORMAT_END is non-null
and there are no NUL bytes between FORMAT and FORMAT_END) and there are no NUL bytes between FORMAT and FORMAT_END)
terminated at position FORMAT_END. AP specifies format arguments. terminated at position FORMAT_END. AP specifies format arguments.

View file

@ -166,7 +166,7 @@ char const EXTERNALLY_VISIBLE RCS_Id[]
= "$Id" ": GNU Emacs " PACKAGE_VERSION = "$Id" ": GNU Emacs " PACKAGE_VERSION
" (" EMACS_CONFIGURATION " " EMACS_CONFIG_FEATURES ") $"; " (" EMACS_CONFIGURATION " " EMACS_CONFIG_FEATURES ") $";
/* Empty lisp strings. To avoid having to build any others. */ /* Empty Lisp strings. To avoid having to build any others. */
Lisp_Object empty_unibyte_string, empty_multibyte_string; Lisp_Object empty_unibyte_string, empty_multibyte_string;
#ifdef WINDOWSNT #ifdef WINDOWSNT

View file

@ -206,7 +206,7 @@ set_menu_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval)
/* Menu bars on child frames don't work on all platforms, which is /* Menu bars on child frames don't work on all platforms, which is
the reason why prepare_menu_bar does not update_menu_bar for the reason why prepare_menu_bar does not update_menu_bar for
child frames (info from Martin Rudalics). This could be child frames (info from Martin Rudalics). This could be
implemented in ttys, but it's probaly not worth it. */ implemented in ttys, but it's probably not worth it. */
if (is_tty_child_frame (f)) if (is_tty_child_frame (f))
{ {
FRAME_MENU_BAR_LINES (f) = 0; FRAME_MENU_BAR_LINES (f) = 0;

View file

@ -12117,8 +12117,8 @@ svg_load_image (struct frame *f, struct image *img, char *contents,
rsvg_handle_write (rsvg_handle, (unsigned char *) contents, size, &err); rsvg_handle_write (rsvg_handle, (unsigned char *) contents, size, &err);
if (err) goto rsvg_error; if (err) goto rsvg_error;
/* The parsing is complete, rsvg_handle is ready to be used, close /* The parsing is complete, rsvg_handle is ready to be used, close it
it for further writes. */ for further writes. */
rsvg_handle_close (rsvg_handle, &err); rsvg_handle_close (rsvg_handle, &err);
if (err) goto rsvg_error; if (err) goto rsvg_error;
#endif #endif
@ -12348,7 +12348,7 @@ svg_load_image (struct frame *f, struct image *img, char *contents,
SBYTES (wrapped_contents), &err); SBYTES (wrapped_contents), &err);
if (err) goto rsvg_error; if (err) goto rsvg_error;
/* The parsing is complete, rsvg_handle is ready to used, close it /* The parsing is complete, rsvg_handle is ready to be used, close it
for further writes. */ for further writes. */
rsvg_handle_close (rsvg_handle, &err); rsvg_handle_close (rsvg_handle, &err);
if (err) goto rsvg_error; if (err) goto rsvg_error;

View file

@ -4295,7 +4295,7 @@ types. */)
dump_emacs_reloc_to_emacs_ptr_raw (ctx, &staticvec[i], staticvec[i]); dump_emacs_reloc_to_emacs_ptr_raw (ctx, &staticvec[i], staticvec[i]);
dump_emacs_reloc_immediate_int (ctx, &staticidx, staticidx); dump_emacs_reloc_immediate_int (ctx, &staticidx, staticidx);
/* Dump until while we keep finding objects to dump. We add new /* Dump while we keep finding objects to dump. We add new
objects to the queue by side effect during dumping. objects to the queue by side effect during dumping.
We accumulate some types of objects in special lists to get more We accumulate some types of objects in special lists to get more
locality for these object types at runtime. */ locality for these object types at runtime. */

View file

@ -198,7 +198,7 @@ pgtk_enumerate_devices (struct pgtk_display_info *dpyinfo,
else else
{ {
/* GTK bug 7737 results in GDK seats being initialized /* GTK bug 7737 results in GDK seats being initialized
with NULL devices in some cirumstances. As events will with NULL devices in some circumstances. As events will
presumably also be delivered with their device fields presumably also be delivered with their device fields
set to NULL, insert a ersatz device record associated set to NULL, insert a ersatz device record associated
with NULL. (bug#76239) */ with NULL. (bug#76239) */

View file

@ -139,7 +139,7 @@ struct wav_header
u_int32_t data_length; u_int32_t data_length;
}; };
/* The file header of Sun adio files (*.au). Files are always in /* The file header of Sun audio files (*.au). Files are always in
big-endian byte-order. */ big-endian byte-order. */
struct au_header struct au_header

View file

@ -17466,7 +17466,7 @@ redisplay_internal (void)
if (is_tty_frame (f)) if (is_tty_frame (f))
{ {
/* Ignore all invisble tty frames, children or root. */ /* Ignore all invisible tty frames, children or root. */
if (!frame_redisplay_p (f)) if (!frame_redisplay_p (f))
continue; continue;