* 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 public inbox https://git.savannah.gnu.org/cgit/emacs.git 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).