From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [PATCH] Use backquotes to make byte compiler expand `flet' macro. Date: Sun, 27 Jun 2010 18:01:02 +0200 Message-ID: <1277654463-16903-1-git-send-email-dmaus@ictsoc.de> References: <87vd94tta1.fsf@gmail.com> Return-path: Received: from [140.186.70.92] (port=42405 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSuIW-000466-1B for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 12:01:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSuIK-00035f-ET for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 12:01:21 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:53830) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSuIK-00035R-59 for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 12:01:20 -0400 In-Reply-To: <87vd94tta1.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > 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 'load-path "~/code/org-mode/git/lisp/") (require 'org-install) (require 'org) (fboundp 'flet)) => nil M-x org-agenda RET a C-x C-w ~/test.pdf RET Happily creates the pdf. David Maus (1): Use backquotes to make byte compiler expand `flet' macro. lisp/org-agenda.el | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)