* 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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.