mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-08 23:40:24 -08:00
; Fix typos
This commit is contained in:
parent
824cf54951
commit
63411709a8
3 changed files with 4 additions and 4 deletions
|
|
@ -1592,7 +1592,7 @@ Example:
|
||||||
(widget-create 'variable-link
|
(widget-create 'variable-link
|
||||||
:button-prefix ""
|
:button-prefix ""
|
||||||
:button-suffix ""
|
:button-suffix ""
|
||||||
:tag "What setting controlls button-prefix?"
|
:tag "What setting controls button-prefix?"
|
||||||
'widget-button-prefix)
|
'widget-button-prefix)
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
|
|
|
||||||
2
etc/TODO
2
etc/TODO
|
|
@ -156,7 +156,7 @@ from.
|
||||||
|
|
||||||
** Make back_comment use syntax-ppss or equivalent
|
** 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
|
** Consider improving src/sysdep.c's search for a fqdn
|
||||||
https://lists.gnu.org/r/emacs-devel/2007-04/msg00782.html
|
https://lists.gnu.org/r/emacs-devel/2007-04/msg00782.html
|
||||||
|
|
|
||||||
|
|
@ -1107,7 +1107,7 @@ fontified."
|
||||||
|
|
||||||
(defun python--treesit-fontify-union-types (node override start end &optional type-regex &rest _)
|
(defun python--treesit-fontify-union-types (node override start end &optional type-regex &rest _)
|
||||||
"Fontify nested union types in the type hints.
|
"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
|
structure is represented via nesting binary_operator and
|
||||||
subscript nodes. This function iterates over all levels and
|
subscript nodes. This function iterates over all levels and
|
||||||
highlight identifier nodes. If TYPE-REGEX is not nil fontify type
|
highlight identifier nodes. If TYPE-REGEX is not nil fontify type
|
||||||
|
|
@ -1265,7 +1265,7 @@ fontified."
|
||||||
(subscript (identifier) @font-lock-type-face)
|
(subscript (identifier) @font-lock-type-face)
|
||||||
(subscript (attribute attribute: (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.
|
;; last identifier.
|
||||||
(class_pattern (dotted_name (identifier) @font-lock-type-face :anchor))
|
(class_pattern (dotted_name (identifier) @font-lock-type-face :anchor))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue