summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2011-07-08 08:30:31 +0200
committerBastien Guerry <bzg@altern.org>2011-07-08 08:30:31 +0200
commitdc59011473063715619d59c915de2ebae8325005 (patch)
tree4992e32ad2406ca9c67957eb8d63195d6c03990c
parentf305a6f81aa6181c8375e797b362f3300ffed1d6 (diff)
downloadorg-mode-dc59011473063715619d59c915de2ebae8325005.tar.gz
org-mobile.el: Fix org-mobile-push with custom functions
-rw-r--r--lisp/org-mobile.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 7582d01..2e818e6 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -575,8 +575,9 @@ The table of checksums is written to the file mobile-checksums."
" " match "</after>"))
settings))
(push (list type match settings) new))
- ((symbolp (nth 2 e))
- ;; A user-defined function, not sure how to handle that yet
+ ((or (functionp (nth 2 e)) (symbolp (nth 2 e)))
+ ;; A user-defined function, which can do anything, so simply
+ ;; ignore it.
)
(t
;; a block agenda