emacs-devel
[Top][All Lists]
Advanced

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

Re: Current mode command discovery


From: Lars Ingebrigtsen
Subject: Re: Current mode command discovery
Date: Sat, 20 Feb 2021 15:59:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> `ignore' shows up here, because we've bound `h' to `ignore' as a way to
>> disable that key binding.  That doesn't sound kinda non-ideal -- it
>> should be unbound instead.
>
> Then make `ignore` have a scoring function that always returns
> a low value.

That would be

(defun ignore (...)
  (declare (completion ignore)))

Isn't that ironic?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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