From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [PATCH] Make sure `flet' is fbound when executing `org-write-agenda'. Date: Sun, 27 Jun 2010 16:30:49 +0200 Message-ID: <1277649049-14463-2-git-send-email-dmaus@ictsoc.de> References: <87aaqglrr3.wl%dmaus@ictsoc.de> Return-path: Received: from [140.186.70.92] (port=51296 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSssw-0007sU-VP for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 10:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSssv-0006qU-P5 for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 10:31:02 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:52358) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSssv-0006qP-J6 for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 10:31:01 -0400 In-Reply-To: <87aaqglrr3.wl%dmaus@ictsoc.de> 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 * org-agenda.el (org-write-agenda): Make sure `flet' is fbound at runtime. --- lisp/org-agenda.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 8035add..957bbf2 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2464,6 +2464,8 @@ higher priority settings." beg (or (next-single-property-change beg 'org-filtered) (point-max)))) (run-hooks 'org-agenda-before-write-hook) + ;; make sure flet is fbound at runtime + (unless (fboundp 'flet) (require 'cl)) (cond ((org-bound-and-true-p org-mobile-creating-agendas) (org-mobile-write-agenda-for-mobile file)) -- 1.7.1