diff options
author | Tassilo Horn <tassilo@member.fsf.org> | 2011-07-08 08:30:31 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-07-08 08:30:31 +0200 |
commit | dc59011473063715619d59c915de2ebae8325005 (patch) | |
tree | 4992e32ad2406ca9c67957eb8d63195d6c03990c | |
parent | f305a6f81aa6181c8375e797b362f3300ffed1d6 (diff) | |
download | org-mode-dc59011473063715619d59c915de2ebae8325005.tar.gz |
org-mobile.el: Fix org-mobile-push with custom functions
-rw-r--r-- | lisp/org-mobile.el | 5 |
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 |