summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2024-01-11 00:32:15 +0100
committerStefan Kangas <stefankangas@gmail.com>2024-01-11 00:32:15 +0100
commit63411709a8dbad8b17c7f1e0cfed99f4aeb174a1 (patch)
tree809f248297e7598e87323f33eacfb2899090da42
parent824cf54951c076e2b6a0e3a8e6fb1342cf58b8b6 (diff)
downloademacs-63411709a8dbad8b17c7f1e0cfed99f4aeb174a1.tar.gz
; Fix typos
-rw-r--r--doc/misc/widget.texi2
-rw-r--r--etc/TODO2
-rw-r--r--lisp/progmodes/python.el4
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/misc/widget.texi b/doc/misc/widget.texi
index 82d89449dd2..d4f2ba1e76c 100644
--- a/doc/misc/widget.texi
+++ b/doc/misc/widget.texi
@@ -1592,7 +1592,7 @@ Example:
(widget-create 'variable-link
:button-prefix ""
:button-suffix ""
- :tag "What setting controlls button-prefix?"
+ :tag "What setting controls button-prefix?"
'widget-button-prefix)
@end lisp
diff --git a/etc/TODO b/etc/TODO
index a672b6b5b72..9b3796515d2 100644
--- a/etc/TODO
+++ b/etc/TODO
@@ -156,7 +156,7 @@ from.
** Make back_comment use syntax-ppss or equivalent
-* Make play-sound asynchronous and non-blocking
+** Make play-sound asynchronous and non-blocking
** Consider improving src/sysdep.c's search for a fqdn
https://lists.gnu.org/r/emacs-devel/2007-04/msg00782.html
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 3247291b6ee..9849fde8588 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1107,7 +1107,7 @@ fontified."
(defun python--treesit-fontify-union-types (node override start end &optional type-regex &rest _)
"Fontify nested union types in the type hints.
-For examlpe, Lvl1 | Lvl2[Lvl3[Lvl4[Lvl5 | None]], Lvl2]. This
+For example, Lvl1 | Lvl2[Lvl3[Lvl4[Lvl5 | None]], Lvl2]. This
structure is represented via nesting binary_operator and
subscript nodes. This function iterates over all levels and
highlight identifier nodes. If TYPE-REGEX is not nil fontify type
@@ -1265,7 +1265,7 @@ fontified."
(subscript (identifier) @font-lock-type-face)
(subscript (attribute attribute: (identifier) @font-lock-type-face))]))
- ;; Patern matching: case [str(), pack0.Type0()]. Take only the
+ ;; Pattern matching: case [str(), pack0.Type0()]. Take only the
;; last identifier.
(class_pattern (dotted_name (identifier) @font-lock-type-face :anchor))