the patch gives rise to the following change in behaviour. Before: $ emacs -Q -batch -l quit.el (quit) $ echo $? 0 After: $ emacs -Q -batch -l quit.el Quit $ echo $? 255 IOW, it's no longer possible to catch the quit around execute-kbd-macro. I tried wrapping it in (catch 'exit ...) as well, but to no avail. Surely it should always be possible to catch a quit condition from Lisp? Thanks, -- Basil