From 5acb05d267284dbf603adb49733c253a60518db1 Mon Sep 17 00:00:00 2001
From: Don Roberts <roberts@refactory.com>
Date: Mon, 25 Jul 2011 08:30:36 -0500
Subject: [PATCH] org-mac-ical: Update for MacOSX Lion

---
 contrib/lisp/org-mac-iCal.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-iCal.el
index 7a1e1f0..83804c1 100644
--- a/contrib/lisp/org-mac-iCal.el
+++ b/contrib/lisp/org-mac-iCal.el
@@ -99,7 +99,7 @@ the the Emacs diary"
   ;; for each calendar, concatenate individual events into a single ics file
   (with-temp-buffer
     (shell-command "sw_vers" (current-buffer))
-    (when (re-search-backward "10\\.[56]" nil t)
+    (when (re-search-backward "10\\.[567]" nil t)
       (omi-concat-leopard-ics all-calendars)))
   
   ;; move all caldav ics files to the same place as local ics files
-- 
1.7.6

