1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

; Fix typos

This commit is contained in:
Stefan Kangas 2024-10-27 07:49:32 +01:00
parent bd2b064438
commit 67a27ff53b
14 changed files with 19 additions and 20 deletions

View File

@ -219,7 +219,7 @@
Fix c-ts-mode indentation for initializer lists (bug#73661) Fix c-ts-mode indentation for initializer lists (bug#73661)
The intentation behavior differed between c-mode/c++-mode The indentation behavior differed between c-mode/c++-mode
and *-ts-mode for initializer lists where the first element was and *-ts-mode for initializer lists where the first element was
not at beginning-of-line. The anchor-prev-sibling function gave not at beginning-of-line. The anchor-prev-sibling function gave
up and returned nil, but it should (probably) anchor on the up and returned nil, but it should (probably) anchor on the
@ -547,7 +547,7 @@
Align columns in which-key with wide characters properly Align columns in which-key with wide characters properly
In the case that a character takes up multple columns (such as In the case that a character takes up multiple columns (such as
`…' when used as a truncation character), make sure that the `…' when used as a truncation character), make sure that the
columns are still aligned properly. columns are still aligned properly.
* lisp/which-key.el (which-key--pad-column): Use `string-width' * lisp/which-key.el (which-key--pad-column): Use `string-width'
@ -1032,7 +1032,7 @@
* src/treesit.c (treesit_sync_visible_region): Minimally fix ranges so * src/treesit.c (treesit_sync_visible_region): Minimally fix ranges so
it doesn't exceed parser's visible range. it doesn't exceed parser's visible range.
(treesit_call_after_change_functions): Update calling sigature to (treesit_call_after_change_functions): Update calling signature to
treesit_make_ranges. treesit_make_ranges.
(treesit_ensure_parsed, make_treesit_parser): Use the new field (treesit_ensure_parsed, make_treesit_parser): Use the new field
within_reparse. within_reparse.

View File

@ -1701,8 +1701,6 @@ Timo Savola, Jorgen Sch@"afer, Holger Schauer, William Schelter, Ralph
5b34fc07085 * lisp/treesit.el (treesit-node-at): Update docstring (bu... 5b34fc07085 * lisp/treesit.el (treesit-node-at): Update docstring (bu...
5cf1de683b2 Fix python-fill-paragraph problems on filling strings (bu... 5cf1de683b2 Fix python-fill-paragraph problems on filling strings (bu...
7678b7e46f2 Eglot: check server capability before sending didSave (bu... 7678b7e46f2 Eglot: check server capability before sending didSave (bu...
7678b7e46f2 Eglot: check server capability before sending didSave (bu...
9ac12592781 Fix display of menu-bar bindings of commands in *Help* bu...
9ac12592781 Fix display of menu-bar bindings of commands in *Help* bu... 9ac12592781 Fix display of menu-bar bindings of commands in *Help* bu...
9e105d483fa Fix c-ts-mode indentation for statement after preproc (bu... 9e105d483fa Fix c-ts-mode indentation for statement after preproc (bu...
When running emacs in a terminal (or at least, in iTerm), keys are not When running emacs in a terminal (or at least, in iTerm), keys are not
@ -1736,7 +1734,6 @@ Timo Savola, Jorgen Sch@"afer, Holger Schauer, William Schelter, Ralph
ed3bab3cc72 Revert 'forward-sentence-default-function' to return poin... ed3bab3cc72 Revert 'forward-sentence-default-function' to return poin...
b3e930d328e Revert inadvertent change to lisp/icomplete.el in previou... b3e930d328e Revert inadvertent change to lisp/icomplete.el in previou...
973c1d24c6a ruby-ts-mode: Also don't reindent 'identifier' when insid... 973c1d24c6a ruby-ts-mode: Also don't reindent 'identifier' when insid...
973c1d24c6a ruby-ts-mode: Also don't reindent 'identifier' when insid...
e444115d026 Improve keymap-global-set and keymap-local-set interactiv... e444115d026 Improve keymap-global-set and keymap-local-set interactiv...
8e9783b4ce4 Rebind in read-regexp-map M-c to M-s c compatible wit... 8e9783b4ce4 Rebind in read-regexp-map M-c to M-s c compatible wit...
f12f72b0e09 ; * lisp/simple.el (primitive-undo): Clarify error messag... f12f72b0e09 ; * lisp/simple.el (primitive-undo): Clarify error messag...
@ -1744,3 +1741,5 @@ Timo Savola, Jorgen Sch@"afer, Holger Schauer, William Schelter, Ralph
b211a63455c Make tab-bar-tab-group-format-function also handle curren... b211a63455c Make tab-bar-tab-group-format-function also handle curren...
a3c310c11a Create new "use-package" themse and use it for :custom wit... a3c310c11a Create new "use-package" themse and use it for :custom wit...
2a85d81c47 Add support for gathering statistics on use-package declar... 2a85d81c47 Add support for gathering statistics on use-package declar...
(let* ((nam (buffer-substring (match-beginning 2) (match-end 2)))
(setq nmlst (cons nam nmlst)

View File

@ -1432,7 +1432,7 @@ If you need to contact the Free Software Foundation, see
@display @display
Free Software Foundation Free Software Foundation
31 Milk Street # 960789 31 Milk Street, # 960789
Boston, MA 02196 Boston, MA 02196
USA USA
@end display @end display

View File

@ -812,7 +812,7 @@ You do it using Emacs Lisp's built-in support for CLOS-style generic
functions via the @code{cl-defgeneric} and @code{cl-defmethod} macros functions via the @code{cl-defgeneric} and @code{cl-defmethod} macros
(@pxref{Generic Functions,,,elisp,GNU Emacs Lisp Reference Manual}). (@pxref{Generic Functions,,,elisp,GNU Emacs Lisp Reference Manual}).
EIEIO provides one extension to @code{cl-defmethod} to allow mathods to EIEIO provides one extension to @code{cl-defmethod} to allow methods to
dispatch on a class argument: so-called ``static'' methods do not depend dispatch on a class argument: so-called ``static'' methods do not depend
on an object instance, but instead operate on a class. You can create on an object instance, but instead operate on a class. You can create
a static method by using the @code{subclass} specializer with a static method by using the @code{subclass} specializer with

View File

@ -105,4 +105,4 @@ default look of the Gnome 3 desktop."
`(diff-added ((,class (:bold t :foreground "#4E9A06")))) `(diff-added ((,class (:bold t :foreground "#4E9A06"))))
`(diff-removed ((,class (:bold t :foreground "#F5666D")))))) `(diff-removed ((,class (:bold t :foreground "#F5666D"))))))
;;; adwaita-theme.el ends here ;;; adwaita-theme.el ends here

View File

@ -37,7 +37,7 @@
;; viewed, for example, the Gnus group buffer, consistent and logical ;; viewed, for example, the Gnus group buffer, consistent and logical
;; color choices are the only sane option. Gnus groups can be newa ;; color choices are the only sane option. Gnus groups can be newa
;; (blueish) or mail (greenish), have states (large number of under ;; (blueish) or mail (greenish), have states (large number of under
;; messages, normal, and empty). The large number unread groups have ;; messages, normal, and empty). The large number unread groups have
;; highest luminance (appear brighter), and the empty one have lower ;; highest luminance (appear brighter), and the empty one have lower
;; luminance (appear grayer), but have the same chroma and saturation. ;; luminance (appear grayer), but have the same chroma and saturation.
;; Sub states and group priorities are rendered using a color series ;; Sub states and group priorities are rendered using a color series
@ -704,4 +704,4 @@ jarring angry fruit salad look to reduce eye fatigue."
(provide-theme 'manoj-dark) (provide-theme 'manoj-dark)
;;; manoj-dark.el ends here ;;; manoj-dark-theme.el ends here

View File

@ -134,4 +134,4 @@
(provide-theme 'misterioso) (provide-theme 'misterioso)
;;; misterioso-theme.el ends here ;;; misterioso-theme.el ends here

View File

@ -584,7 +584,7 @@ of the piece of advice."
;;;###autoload ;;;###autoload
(defmacro define-advice (symbol args &rest body) (defmacro define-advice (symbol args &rest body)
"Define an advice and add it to function named SYMBOL. "Define an advice and add it to function named SYMBOL.
See `advice-add' and `add-function' for explanation on the See `advice-add' and `add-function' for explanation of the
arguments. If NAME is non-nil, the advice is named `SYMBOL@NAME' arguments. If NAME is non-nil, the advice is named `SYMBOL@NAME'
and installed with the name NAME; otherwise, the advice is anonymous. and installed with the name NAME; otherwise, the advice is anonymous.

View File

@ -1437,9 +1437,9 @@ recommended to enable `electric-pair-mode' with this mode."
:help "Toggle C/C++ comment style between block and line comments"]) :help "Toggle C/C++ comment style between block and line comments"])
"--" "--"
("Toggle..." ("Toggle..."
["SubWord Mode" subword-mode ["Subword Mode" subword-mode
:style toggle :selected subword-mode :style toggle :selected subword-mode
:help "Toggle sub-word movement and editing mode"]))) :help "Toggle subword movement and editing mode"])))
;; We could alternatively use parsers, but if this works well, I don't ;; We could alternatively use parsers, but if this works well, I don't
;; see the need to change. This is copied verbatim from cc-guess.el. ;; see the need to change. This is copied verbatim from cc-guess.el.

View File

@ -1915,7 +1915,7 @@ If no file is associated with the current buffer, this function returns nil."
(defun list-tags (file &optional _next-match) (defun list-tags (file &optional _next-match)
"Display list of tags in file FILE. "Display list of tags in file FILE.
Interactively, prompt for FILE, with completion, offering the current Interactively, prompt for FILE, with completion, offering the current
buffer's file name as the defaul. buffer's file name as the default.
This command searches only the first table in the list of tags tables, This command searches only the first table in the list of tags tables,
and does not search included tables. and does not search included tables.
FILE should be as it was submitted to the `etags' command, which usually FILE should be as it was submitted to the `etags' command, which usually

View File

@ -437,7 +437,7 @@ Useful for debugging."
Return `php-ts-mode-indent-offset' plus 1 when BOL is after Return `php-ts-mode-indent-offset' plus 1 when BOL is after
`php-ts-mode--possibly-braceless-keyword-re', otherwise return 0. It's `php-ts-mode--possibly-braceless-keyword-re', otherwise return 0. It's
usefull for matching incomplete compound_statement or colon_block. useful for matching incomplete compound_statement or colon_block.
PARENT is NODE's parent, BOL is the beginning of non-whitespace PARENT is NODE's parent, BOL is the beginning of non-whitespace
characters of the current line." characters of the current line."
(and (null node) (and (null node)

View File

@ -3080,7 +3080,7 @@ If `treesit-defun-name-function' is non-nil, set up
If `treesit-simple-imenu-settings' is non-nil, set up Imenu. If `treesit-simple-imenu-settings' is non-nil, set up Imenu.
If either `treesit-outline-predicate' or `treesit-simple-imenu-settings' If either `treesit-outline-predicate' or `treesit-simple-imenu-settings'
are non-nil, and Outline minor mode settings don't alreay exist, setup are non-nil, and Outline minor mode settings don't already exist, setup
Outline minor mode. Outline minor mode.
If `sexp', `sentence' are defined in `treesit-thing-settings', If `sexp', `sentence' are defined in `treesit-thing-settings',

View File

@ -74,7 +74,7 @@ component ending in \"symlink\" is treated as a symbolic link."
;; Ensure the default expansion splices the glob. ;; Ensure the default expansion splices the glob.
(eshell-command-result-equal "funcall list *.el" '("a.el" "b.el")) (eshell-command-result-equal "funcall list *.el" '("a.el" "b.el"))
(eshell-command-result-equal "funcall list *.txt" '("c.txt")) (eshell-command-result-equal "funcall list *.txt" '("c.txt"))
;; When spliting, no-matches cases also return a list containing ;; When splitting, no-matches cases also return a list containing
;; the original non-matching glob. ;; the original non-matching glob.
(eshell-command-result-equal "funcall list *.no" '("*.no")) (eshell-command-result-equal "funcall list *.no" '("*.no"))
(when (eshell-tests-remote-accessible-p) (when (eshell-tests-remote-accessible-p)

View File

@ -208,7 +208,7 @@ int main()
} }
=-=-= =-=-=
Name: Return Compund Literal Name: Return Compound Literal
=-= =-=
struct pair { int fst, snd; }; struct pair { int fst, snd; };