* Setting completion-styles
@ 2024-12-07 13:32 Heime via Users list for the GNU Emacs text editor
0 siblings, 0 replies; only message in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-12-07 13:32 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
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)) )) ))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-07 13:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-07 13:32 Setting completion-styles Heime via Users list for the GNU Emacs text editor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).