help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Mix of completing-read and read-string


From: Drew Adams
Subject: RE: Mix of completing-read and read-string
Date: Sun, 8 Feb 2009 10:44:51 -0800

> >   (let ((minibuffer-local-completion-map
> >          minibuffer-local-completion-map))
> 
> (copy-keymap minibuffer-local-completion-map) would be safer, eh?

Yes. In case of error or quitting (`C-g') during completion, that will prevent
possibly leaving behind a SPC binding as `self-insert-command'.

(let ((minibuffer-local-completion-map
       (copy-keymap minibuffer-local-completion-map)))
 ...





reply via email to

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