diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-04-09 14:30:57 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-04-09 14:30:57 +0200 |
commit | 32db2521bc42811d43f09346fc38816527e8be35 (patch) | |
tree | 8638a94bbb5e8e324c67d937603ce7d81c8b4c47 | |
parent | 6f3026edf161ae2d721f4ac04ed50fdebb16353d (diff) | |
download | org-mode-32db2521bc42811d43f09346fc38816527e8be35.tar.gz |
Check org-mobile setup for a checksum binary
-rwxr-xr-x | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/org-mobile.el | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bec794d..1d13ebc 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-04-09 Carsten Dominik <carsten.dominik@gmail.com> + + * org-mobile.el (org-mobile-check-setup): Make sure that there is + a binary to compute checksums. + 2010-04-08 Carsten Dominik <carsten.dominik@gmail.com> * org.el (org-insert-link): Find the link buffer on visible diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index f6b4a54..252b11d 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -349,6 +349,9 @@ agenda view showing the flagged items." (file-name-directory org-mobile-inbox-for-pull))) (error "Variable `org-mobile-inbox-for-pull' must point to a file in an existing directory")) + (unless (and org-mobile-checksum-binary + (string-match "\\S-" org-mobile-checksum-binary)) + (error "No executable found to compute checksums")) (when org-mobile-use-encryption (unless (string-match "\\S-" org-mobile-encryption-password) (error |