[Orgmode] [PATCH] Use backquotes to make byte compiler expand `flet' macro.

2010-06-27 Thread David Maus
* org-agenda.el (org-write-agenda): Use backquotes to expand `flet' at compile time. --- lisp/org-agenda.el | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 8035add..9056206 100644 --- a/lisp/org-agenda.el +++

[Orgmode] [PATCH] Use backquotes to make byte compiler expand `flet' macro.

2010-06-27 Thread David Maus
This, while being an obvious (and correct) solution, is unfortunately not suitable for Emacs core. You're not supposed to require the cl package at runtime (you even get a compiler warning if you do). I see. So backquotes to the rescue: Tested with Emacs 23.2 emacs -Q (progn (add-to-list

Re: [Orgmode] [PATCH] Use backquotes to make byte compiler expand `flet' macro.

2010-06-27 Thread Carsten Dominik
Hi David, this is a great solution, thanks. - Carsten On Jun 27, 2010, at 6:01 PM, David Maus wrote: * org-agenda.el (org-write-agenda): Use backquotes to expand `flet' at compile time. --- lisp/org-agenda.el | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git