[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting completion-styles
From: |
Heime |
Subject: |
Setting completion-styles |
Date: |
Sat, 07 Dec 2024 13:32:32 +0000 |
I want to set completion-styles from the set of symbols passed as
arguments in `actn'.
I want to improve upon this code
(defun lentil-launch (&rest actn)
"Launcher for Sentinel feature."
(dolist (action actn)
(pcase action
('basic (setq completion-styles '(basic)))
('substring (setq completion-styles '(basic substring)))
('orderless (setq completion-styles '(orderless)))
('partial (setq completion-styles '(partial-completion)))
('flex (setq completion-styles '(flex)))
('initials (setq completion-styles '(initials)) )) ))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Setting completion-styles,
Heime <=