[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 7950bc87a3 06/10: Avoid obsolete font-lock face va
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 7950bc87a3 06/10: Avoid obsolete font-lock face variables |
Date: |
Wed, 12 Mar 2025 09:58:51 -0400 (EDT) |
branch: externals/dash
commit 7950bc87a3acc8605364d09f0668d66a2461cf65
Author: Basil L. Contovounesios <basil@contovou.net>
Commit: Basil L. Contovounesios <basil@contovou.net>
Avoid obsolete font-lock face variables
Emacs 31 obsoletes the variables in preference to the face symbols.
* dash.el (dash--keywords): Replace obsolete font-lock variables
with corresponding face symbols. Use (MATCHER . FACESPEC) in place
of (MATCHER . SUBEXP-HIGHLIGHTER) with SUBEXP zero.
---
dash.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dash.el b/dash.el
index b1aa2c6bf1..04cd6236ab 100644
--- a/dash.el
+++ b/dash.el
@@ -3953,13 +3953,13 @@ This function satisfies the following laws:
`(;; TODO: Do not fontify the following automatic variables
;; globally; detect and limit to their local anaphoric scope.
(,(rx symbol-start (| "acc" "it" "it-index" "other") symbol-end)
- 0 font-lock-variable-name-face)
+ . 'font-lock-variable-name-face)
;; Macros in dev/examples.el. Based on `lisp-mode-symbol-regexp'.
(,(rx ?\( (group (| "defexamples" "def-example-group")) symbol-end
(+ (in "\t "))
(group (* (| (syntax word) (syntax symbol) (: ?\\ nonl)))))
- (1 font-lock-keyword-face)
- (2 font-lock-function-name-face))
+ (1 'font-lock-keyword-face)
+ (2 'font-lock-function-name-face))
;; Symbols in dev/examples.el.
,(rx symbol-start (| "=>" "~>" "!!>") symbol-end)
;; Elisp macro fontification was static prior to Emacs 25.
- [elpa] externals/dash updated (1de9dcb83e -> fcb5d831fc), ELPA Syncer, 2025/03/12
- [elpa] externals/dash 4e8e5fae48 02/10: Merge PR #418 from blc/static, ELPA Syncer, 2025/03/12
- [elpa] externals/dash 79567ad52f 03/10: Use Emacs 29 'take' and Emacs 30 'sort', ELPA Syncer, 2025/03/12
- [elpa] externals/dash c59122f534 05/10: ; .github/workflows/test.yml: Add Emacs 29.4,30.1., ELPA Syncer, 2025/03/12
- [elpa] externals/dash ad697b8029 09/10: Update copyright notices for 2025, ELPA Syncer, 2025/03/12
- [elpa] externals/dash fcb5d831fc 10/10: Release Dash 2.20.0, ELPA Syncer, 2025/03/12
- [elpa] externals/dash 693153276e 01/10: Improve compatibility with static-if, ELPA Syncer, 2025/03/12
- [elpa] externals/dash 3c608b1331 04/10: Update stable docstrings for aliases, ELPA Syncer, 2025/03/12
- [elpa] externals/dash 7950bc87a3 06/10: Avoid obsolete font-lock face variables,
ELPA Syncer <=
- [elpa] externals/dash dfc26101d0 08/10: List self as maintainer, ELPA Syncer, 2025/03/12
- [elpa] externals/dash b9982020fa 07/10: Add find-func support for defexamples, ELPA Syncer, 2025/03/12