I have this code:
(minibuffer-with-setup-hook
#'ivy--minibuffer-setup
(read-from-minibuffer
;; ...
))
It works fine unless the code is called when already in the minibuffer. In that case ivy--minibuffer-setup
isn't called. Is there a way to achieve what I want: while in minibuffer, call read-from-minibuffer
and call some code after the recursive minibuffer is entered?
minibuffer-with-setup-hook
isn't used when you start a recursive minibuffer? I think it is used for every minibuffer activation. Perhaps something on the hook raised an error? – Drew May 11 '15 at 17:22