[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/smartparens 7ab6f9d862 2/5: chore: remove useless font-loc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/smartparens 7ab6f9d862 2/5: chore: remove useless font-lock |
Date: |
Wed, 18 Jan 2023 15:01:06 -0500 (EST) |
branch: elpa/smartparens
commit 7ab6f9d8627a1e42e86ffa95514134c4c6a699b5
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: Matus Goljer <matus.goljer@gmail.com>
chore: remove useless font-lock
In newer Emacsen macros are automatically font-locked as keywords, so
this is not necessary anymore.
---
smartparens.el | 7 -------
1 file changed, 7 deletions(-)
diff --git a/smartparens.el b/smartparens.el
index b67d95e389..cff8b1c0f5 100644
--- a/smartparens.el
+++ b/smartparens.el
@@ -1753,13 +1753,6 @@ insert the modes."
(progn
,@(mapcar (lambda (form) (append (list (car form) modes) (cdr form)))
forms)))))
-(font-lock-add-keywords 'emacs-lisp-mode `((,(concat "("
- (regexp-opt
'("sp-with-modes"
- "sp-get"
-
"sp-compare-sexps") t)
- "\\_>")
- (1 font-lock-keyword-face))))
-
(defmacro sp--with-case-sensitive (&rest body)
"Ensure that searching done within BODY is case-sensitive.