aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorPo Lu2023-11-24 08:44:34 +0800
committerPo Lu2023-11-24 08:44:34 +0800
commit1737ffd3a83b0d2fd4a114e9b5187d28d577dc38 (patch)
treec50e3b8e8e3141a6039756f3357dba95911e39b8 /lisp/progmodes/python.el
parentcd263043538fd960083c7c98390d3c679c5012f3 (diff)
parent1978b603bc3068140833e478a8103fea1d185aec (diff)
downloademacs-1737ffd3a83b0d2fd4a114e9b5187d28d577dc38.tar.gz
emacs-1737ffd3a83b0d2fd4a114e9b5187d28d577dc38.zip
Merge from savannah/emacs-29
1978b603bc3 Make python-ts-mode's syntax-highlighting more standardized 99658346d1e ; Improve documentation of desktop.el in user manual f7dc0202127 Fix "Text is read-only" on backspacing initial Calc input 662d54775d5 Add a doc string to simple.el (bug#67355) 5a5e36d2aad ; Improve function documentation tips 86016d8ecdb Mention "visual line" in user manual 4bb65ed77a8 ; * doc/lispref/minibuf.texi (Programmed Completion): Imp... dfb3dcb404c Allow listing Emoji from a read-only buffer # Conflicts: # lisp/calc/calc.el # lisp/international/emoji.el
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 1a797bb1a03..ab3bf1b4ec0 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1235,7 +1235,7 @@ For NODE, OVERRIDE, START, END, and ARGS, see
1235 (when (python--treesit-variable-p node) 1235 (when (python--treesit-variable-p node)
1236 (treesit-fontify-with-override 1236 (treesit-fontify-with-override
1237 (treesit-node-start node) (treesit-node-end node) 1237 (treesit-node-start node) (treesit-node-end node)
1238 'font-lock-variable-name-face override start end))) 1238 'font-lock-variable-use-face override start end)))
1239 1239
1240 1240
1241;;; Indentation 1241;;; Indentation
@@ -6842,8 +6842,8 @@ implementations: `python-mode' and `python-ts-mode'."
6842 '(( comment definition) 6842 '(( comment definition)
6843 ( keyword string type) 6843 ( keyword string type)
6844 ( assignment builtin constant decorator 6844 ( assignment builtin constant decorator
6845 escape-sequence number property string-interpolation ) 6845 escape-sequence number string-interpolation )
6846 ( bracket delimiter function operator variable))) 6846 ( bracket delimiter function operator variable property)))
6847 (setq-local treesit-font-lock-settings python--treesit-settings) 6847 (setq-local treesit-font-lock-settings python--treesit-settings)
6848 (setq-local imenu-create-index-function 6848 (setq-local imenu-create-index-function
6849 #'python-imenu-treesit-create-index) 6849 #'python-imenu-treesit-create-index)