]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos
authorStefan Kangas <stefankangas@gmail.com>
Wed, 10 Jan 2024 23:32:15 +0000 (00:32 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jan 2024 18:22:18 +0000 (19:22 +0100)
(cherry picked from commit 63411709a8dbad8b17c7f1e0cfed99f4aeb174a1)

doc/misc/widget.texi
etc/TODO
lisp/progmodes/python.el

index 66252a276f9e937f1c174eb27f5a0ea66a24e4df..8e296d252a0ac662e80d2fee2619eaddeffbc8b5 100644 (file)
@@ -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
 
index a8eebf31fbc7119ee0dfdfb215cdc278f30c457a..0152cf9303e090e84b84549ac4da86d314bc4375 100644 (file)
--- 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
index 1148da11a06cc79ae3b7ad88a4e336a605c60667..272559578edd265493cb26a5b8f86ac635244fa6 100644 (file)
@@ -1117,7 +1117,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
@@ -1275,7 +1275,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))