Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Remove unnecessary (delq nil...).
Browse files Browse the repository at this point in the history
This is presumed to be an artifacto of an old default.

* which-key.el (which-key-replacement-alist):
Remove unnecessary (delq nil...).
  • Loading branch information
jeremy-bryant authored and justbur committed May 1, 2024
1 parent b3974a2 commit 1e89fa0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions which-key.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e89fa0

Please sign in to comment.