Remove unnecessary (delq nil...).
authorJeremy Bryant <jb@jeremybryant.net>
Wed, 10 Apr 2024 21:56:27 +0000 (22:56 +0100)
committerJustin Burkett <justin@burkett.cc>
Wed, 1 May 2024 12:51:18 +0000 (08:51 -0400)
This is presumed to be an artifacto of an old default.

* which-key.el (which-key-replacement-alist):
Remove unnecessary (delq nil...).

which-key.el

index 0d44a61020aac6503e46404ca23cd2f9336b0272..f53226ee9696e47c84008a8b3559892cdf0d50f4 100644 (file)
@@ -162,12 +162,11 @@ currently active keymaps."
   :version "1.0")
 
 (defcustom which-key-replacement-alist
-  (delq nil
-        `(((nil . "which-key-show-next-page-no-cycle") . (nil . "wk next pg"))
-          ,@(unless which-key-dont-use-unicode
-              '((("<left>") . ("←"))
-                (("<right>") . ("→"))))
-          (("<\\([[:alnum:]-]+\\)>") . ("\\1"))))
+  `(((nil . "which-key-show-next-page-no-cycle") . (nil . "wk next pg"))
+    ,@(unless which-key-dont-use-unicode
+        '((("<left>") . ("←"))
+          (("<right>") . ("→"))))
+    (("<\\([[:alnum:]-]+\\)>") . ("\\1")))
   "ALIST for manipulating display of binding descriptions.
 Each element of the list is a nested cons cell with the format