[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invoke-with-typing
From: |
Stefan Monnier |
Subject: |
Re: Invoke-with-typing |
Date: |
Wed, 05 Jun 2013 20:27:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> (defmacro IWT-nestable (FORM &rest CHARS)
> "JK:05Jun2013: Like (describe-function 'invoke-with-typing)
> but nestable, e.g:
> USAGE: (IWT-nestable (IWT-nestable (query-replace \"wierd\" \"STRANGE
> \") ?y ?n ) ?y ?n )
> will replace the 1st and 3rd occurrences, not the 2nd and 4th,
> then await user input."
> `(let ((unread-command-events (append ',CHARS unread-command-
> events))) ,FORM)
> )
That should use setq, not let.
Stefan