From 7280f3f0739ac02f19adc7d1bb8945f3c42c5f91 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 28 Sep 2022 17:34:59 +0200 Subject: [PATCH] ; Fix typos --- doc/misc/eshell.texi | 2 +- etc/themes/modus-themes.el | 2 +- lisp/faces.el | 2 +- lisp/imenu.el | 2 +- lisp/net/mailcap.el | 2 +- src/xterm.c | 2 +- test/lisp/net/mailcap-tests.el | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index bc3b21d019e..0ee33f2c2a9 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi @@ -1677,7 +1677,7 @@ inserting it like with @code{>>> @var{file}}. @item >&@var{other-fd} @itemx @var{fd}>&@var{other-fd} Duplicate the file descriptor @var{other-fd} to @var{fd} (or 1 if -unspecified). The order in which this is used is signficant, so +unspecified). The order in which this is used is significant, so @example @var{command} > @var{file} 2>&1 diff --git a/etc/themes/modus-themes.el b/etc/themes/modus-themes.el index c4edb1efcb8..6296bf90251 100644 --- a/etc/themes/modus-themes.el +++ b/etc/themes/modus-themes.el @@ -2270,7 +2270,7 @@ follows (order is not significant): The `popup' key takes the same values as `selection'. -Apart from specfying each key separately, a fallback list is +Apart from specifying each key separately, a fallback list is accepted. This is only useful when the desired aesthetic is the same across all keys that are not explicitly referenced. For example, this: diff --git a/lisp/faces.el b/lisp/faces.el index ffdc391f669..09e81104491 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2060,7 +2060,7 @@ IF MULTIPLE is non-nil, return a list of faces. Return nil if there is no face at point. -This function is not meant for handling faces programatically; to +This function is not meant for handling faces programmatically; to do that, use `get-text-property' and `get-char-property'." (let (faces) (when text diff --git a/lisp/imenu.el b/lisp/imenu.el index bfc24291004..7f68bd15b96 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -210,7 +210,7 @@ See `imenu--index-alist' for the format of the buffer index alist.") ;;;###autoload (defvar-local imenu-submenus-on-top t - "Flag specifiying whether items with sublists should be kept at top. + "Flag specifying whether items with sublists should be kept at top. For some indexes, such as those describing sections in a document, it makes sense to keep their original order even in the menubar.") diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index fd244a97b1a..a5f589459b7 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -724,7 +724,7 @@ appropriately. The format of INFO is described in `mailcap-mime-data'. -STORAGE should be a symbol refering to a variable. The value of +STORAGE should be a symbol referring to a variable. The value of this variable should have the same format as `mailcap-mime-data'. STORAGE defaults to `mailcap--computed-mime-data'. diff --git a/src/xterm.c b/src/xterm.c index 409d39b27e1..198c8164716 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -28278,7 +28278,7 @@ xi_select_hierarchy_events (struct x_display_info *dpyinfo) extension. Value is 0 if GTK was not built with the input extension, or if it - was explictly disabled, 1 if GTK enabled the input extension and + was explicitly disabled, 1 if GTK enabled the input extension and the version was successfully determined, and 2 if that information could not be determined. */ diff --git a/test/lisp/net/mailcap-tests.el b/test/lisp/net/mailcap-tests.el index c4f011dd1a7..8d047c7ff50 100644 --- a/test/lisp/net/mailcap-tests.el +++ b/test/lisp/net/mailcap-tests.el @@ -239,7 +239,7 @@ (print . "print1"))))))))) (ert-deftest mailcap-add-mailcap-entry-new-minor-to-various-major-positions () - "Add a new minor entry to major entries at various postions + "Add a new minor entry to major entries at various positions in ‘mailcap-mime-data’." (let ((mailcap-mime-data (list -- 2.39.2