emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] externals/cape e5e11f30f0: cape-file: Mark completion table a


From: Stefan Monnier
Subject: Re: [elpa] externals/cape e5e11f30f0: cape-file: Mark completion table as non-essential
Date: Mon, 14 Feb 2022 08:50:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]