* Re: [elpa] externals/cape e5e11f30f0: cape-file: Mark completion table as non-essential
[not found] ` <20220214115720.489E9C00891@vcs2.savannah.gnu.org>
@ 2022-02-14 13:50 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2022-02-14 13:50 UTC (permalink / raw)
To: emacs-devel; +Cc: Daniel Mendler
Hi Daniel!
> +(defun cape--nonessential-table (table)
> + "Mark completion TABLE as `non-essential'."
> + (lambda (str pred action)
> + (let ((non-essential t))
> + (let ((result (funcall table str pred action)))
> + (when (and (eq action 'completion--unquote) (functionp (cadr result)))
> + (cl-callf cape--nonessential-table (cadr result)))
> + result))))
Oh, crap!
Is this `completion--unquote` handling really necessary?
Stefan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-14 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <164483984002.27051.7401449879948148687@vcs2.savannah.gnu.org>
[not found] ` <20220214115720.489E9C00891@vcs2.savannah.gnu.org>
2022-02-14 13:50 ` [elpa] externals/cape e5e11f30f0: cape-file: Mark completion table as non-essential Stefan Monnier
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.