summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-03 12:07:08 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-03 12:07:08 (GMT)
commitfc65e379b04c6a92dc515875d8fc260d959d50cb (patch)
tree0edb143469b4f78574027b113c70db57d3d48c9c
parentab17f9959eaa22d23f066a36cb26eb2d8ba54bd4 (diff)
downloadorg-mode-fc65e379b04c6a92dc515875d8fc260d959d50cb.zip
org-mode-fc65e379b04c6a92dc515875d8fc260d959d50cb.tar.gz
org-mobile.el (org-mobile-allpriorities): New option
* org-mobile.el (org-mobile-allpriorities): New option. (org-mobile-create-index-file): Use the new option. Thanks to J. David Boyd for pointing this.
-rw-r--r--lisp/org-mobile.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 125e167..8c29888 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -76,6 +76,12 @@ org-agenda-text-search-extra-files
:group 'org-mobile
:type 'directory)
+(defcustom org-mobile-allpriorities "A B C"
+ "Default set of priority cookies for the index file."
+ :type 'string
+ :group 'org-mobile
+ :version "24.3")
+
(defcustom org-mobile-use-encryption nil
"Non-nil means keep only encrypted files on the WebDAV server.
Encryption uses AES-256, with a password given in
@@ -459,7 +465,7 @@ agenda view showing the flagged items."
(setq tags (append def-tags tags nil))
(insert "#+TAGS: " (mapconcat 'identity tags " ") "\n")
(insert "#+DRAWERS: " (mapconcat 'identity drawers " ") "\n")
- (insert "#+ALLPRIORITIES: A B C" "\n")
+ (insert "#+ALLPRIORITIES: " org-mobile-allpriorities "\n")
(when (file-exists-p (expand-file-name
org-mobile-directory "agendas.org"))
(insert "* [[file:agendas.org][Agenda Views]]\n"))