Browse Source

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

Tassilo Horn 13 years ago
parent
commit
dc59011473
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lisp/org-mobile.el

+ 3 - 2
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