aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorDmitry Gutov2023-02-28 04:07:55 +0200
committerDmitry Gutov2023-02-28 04:08:55 +0200
commit613de662811fccbdcc3521aef394134e8c255127 (patch)
tree6be6c79232bcf36313cba8a78a587a79ef68bbfe /lisp/progmodes/python.el
parentf601e9666d8b861712c09025711dc3a4261cb0ea (diff)
downloademacs-613de662811fccbdcc3521aef394134e8c255127.tar.gz
emacs-613de662811fccbdcc3521aef394134e8c255127.zip
Rename the newly added -ref- faces to -use-
* lisp/font-lock.el (font-lock-variable-use-face) (font-lock-property-use-face): Rename from font-lock-variable-ref-face and font-lock-property-ref-face. Update all references (bug#61655).
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 5aab31c3ea8..1f970633bfc 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1147,7 +1147,7 @@ fontified."
1147 @font-lock-variable-name-face) 1147 @font-lock-variable-name-face)
1148 (assignment left: (attribute 1148 (assignment left: (attribute
1149 attribute: (identifier) 1149 attribute: (identifier)
1150 @font-lock-property-ref-face)) 1150 @font-lock-property-use-face))
1151 (pattern_list (identifier) 1151 (pattern_list (identifier)
1152 @font-lock-variable-name-face) 1152 @font-lock-variable-name-face)
1153 (tuple_pattern (identifier) 1153 (tuple_pattern (identifier)
@@ -1184,12 +1184,12 @@ fontified."
1184 :feature 'property 1184 :feature 'property
1185 :language 'python 1185 :language 'python
1186 '((attribute 1186 '((attribute
1187 attribute: (identifier) @font-lock-property-ref-face) 1187 attribute: (identifier) @font-lock-property-use-face)
1188 (class_definition 1188 (class_definition
1189 body: (block 1189 body: (block
1190 (expression_statement 1190 (expression_statement
1191 (assignment left: 1191 (assignment left:
1192 (identifier) @font-lock-property-ref-face))))) 1192 (identifier) @font-lock-property-use-face)))))
1193 1193
1194 :feature 'operator 1194 :feature 'operator
1195 :language 'python 1195 :language 'python