This one supersedes patch #181: For reasons not yet know to me using the proposed `macroexpand' to get the flet macro expanded at compile time didn't work.
Attached patch solves the whole issue by simply removing the dependency of `flet' in this function altogether. It was used to temporarily redefine the function `ps-print-get-buffer-name' to enforce the buffer name "Agenda View" (vs. "*temp*" for a temporary buffer. So, why not simply rename the temp buffer? Note: The function `rename-buffer' is called with UNIQUE beeing non-nil -- just in case there might be a buffer called "*Agenda View*". Best, -- David David Maus (1): Rename temporary buffer to remove dependency of `flet' macro _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode