[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to insert space in minibuffer while in completing-read ?
From: |
Drew Adams |
Subject: |
RE: How to insert space in minibuffer while in completing-read ? |
Date: |
Sat, 8 Mar 2008 14:06:48 -0800 |
> > 2. If you don't want to use Icicles, but you do want to
> > allow space chars in minibuffer input, do this:
>
> > (define-key minibuffer-local-completion-map
> > " " 'self-insert-command))
> > (define-key minibuffer-local-must-match-map
> > " " 'self-insert-command))
>
> I think you mean to set those keys to nil rather than to
> `self-insert-command'. It may have the same result in 99% of
> the cases in the end, of course.
Right. It's enough to remove the local binding, to restore the global
binding. Either is OK here, but what you suggest is preferable.