aboutsummaryrefslogtreecommitdiff
path: root/evil-macros.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-08-21 17:11:16 -0400
committerAxel Forsman <axel@axelf.se>2024-09-15 10:32:14 +0200
commitea552efeeb809898932f55d1690da9cbe8ef5fa1 (patch)
tree7bcc879c21a7123ad9710fce677f044092fc3ac5 /evil-macros.el
parentc17f03cf876f754f6249e616947f2485036ca7f8 (diff)
Miscellaneous minor changes
* evil-common.el (evil-with-delay): Add comment for last change. * evil-macros.el (font-lock-add-keywords): Use the font-lock faces rather than their obsolete variables. * evil-ex.el (evil-ex-define-argument-type): Make sure the function arguments can be compiled. (evil-ex-init-shell-argument-completion): Don't let-bind `completion-at-point-functions` because hooks aren't just variables.
Diffstat (limited to 'evil-macros.el')
-rw-r--r--evil-macros.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/evil-macros.el b/evil-macros.el
index 09b1396..0f7fd59 100644
--- a/evil-macros.el
+++ b/evil-macros.el
@@ -759,13 +759,13 @@ via KEY-VALUE pairs. BODY should evaluate to a list of values.
'(("(\\(evil-\\(?:ex-\\)?define-\
\\(?:[^ k][^ e][^ y]\\|[-[:word:]]\\{4,\\}\\)\\)\
\\>[ \f\t\n\r\v]*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
- (1 font-lock-keyword-face)
- (2 font-lock-function-name-face nil t))
+ (1 'font-lock-keyword-face)
+ (2 'font-lock-function-name-face nil t))
("(\\(evil-\\(?:delay\\|narrow\\|signal\\|save\\|with\\(?:out\\)?\\)\
\\(?:-[-[:word:]]+\\)?\\)\\>\[ \f\t\n\r\v]+"
- 1 font-lock-keyword-face)
+ 1 'font-lock-keyword-face)
("(\\(evil-\\(?:[-[:word:]]\\)*loop\\)\\>[ \f\t\n\r\v]+"
- 1 font-lock-keyword-face))))
+ 1 'font-lock-keyword-face))))
(provide 'evil-macros)