I see now. I tried using lexical-let*, but now it appears that pulling the assignment of minibuffer-completion-table into the lexical-let* breaks the function, while pulling all the other assigments in works fine. I'm not sure why that happens. I am not a very skilled emacs-lisp programmer, so I am afraid something funny is happening here that is beyond my understanding.
charles David Bremner <david at tethera.net> writes: > Charles Celerier <cceleri at cs.stanford.edu> writes: > >> Can the variables in the varlist depend on the definition of variables >> that precede them in the list? I believe I tried your suggestion, but >> quickly gave up as Emacs gave me an error claiming that all-tags was >> void. > > That's the point of lexical-let* vs lexical-let > > d -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 480 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20141201/791543e6/attachment.pgp>