From c7032cf8b02d2350f83830ccbafc9ba2c64be79e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 26 Sep 2018 20:38:47 -0400 Subject: [PATCH] lang/web: fully remove nil autopair group This removes the nil autopair group, rather than just setting it to nil. No functional different, it's [slightly] more performant. --- modules/lang/web/+html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/web/+html.el b/modules/lang/web/+html.el index 08dc50049..436dcc3e8 100644 --- a/modules/lang/web/+html.el +++ b/modules/lang/web/+html.el @@ -57,7 +57,7 @@ (if (string-match "\\(?:>\\|]\\|}\\)+\\'" string) (replace-match "" t t string) string)))))) - (setf (alist-get nil web-mode-engines-auto-pairs) nil)) + (delq (assq nil web-mode-engines-auto-pairs) web-mode-engines-auto-pairs)) (map! :map web-mode-map (:localleader