[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Patch: org-mac-iCal is a no-op on OS X 10.8
From: |
Steve Purcell |
Subject: |
[O] Patch: org-mac-iCal is a no-op on OS X 10.8 |
Date: |
Sat, 1 Dec 2012 14:11:48 +0000 |
I just found that org-mac-iCal.el doesn't work on OS X 10.8 (Mountain
Lion).
The trivial patch below fixes this.
Cheers,
-Steve
commit 71b50131b5e6ae00a5e6c2f0bff2cec377c68c0f (HEAD, refs/heads/master)
Author: Steve Purcell <address@hidden>
Date: Sat Dec 1 14:06:02 2012 +0000
org-mac-iCal: also use post-Leopard logic to concatenate calendars in 10.8
Modified contrib/lisp/org-mac-iCal.el
diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-iCal.el
index 0fdc95f..a48cf22 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\\.[567]" nil t)
+ (when (re-search-backward "10\\.[5678]" nil t)
(omi-concat-leopard-ics all-calendars)))
;; move all caldav ics files to the same place as local ics files
- [O] Patch: org-mac-iCal is a no-op on OS X 10.8,
Steve Purcell <=