org-mobile.el: Fix org-mobile-push with custom functions

This commit is contained in:
Tassilo Horn 2011-07-08 08:30:31 +02:00 committed by Bastien Guerry
parent f305a6f81a
commit dc59011473
1 changed files with 3 additions and 2 deletions

View File

@ -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