diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-08-08 00:13:21 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-08-08 00:13:21 +0200 |
commit | caefb363e69f996e7bcd53f9aa611782a3fc3b4f (patch) | |
tree | d73684644c6ceb14e125629ec9ecff9ffc034e7b | |
parent | f5500e033ca1fe8b5b617b2577960d486120f807 (diff) | |
download | org-mode-caefb363e69f996e7bcd53f9aa611782a3fc3b4f.tar.gz |
org-mobile: Fix last commit
* lisp/org-mobile.el (org-mobile-action-alist): Use defconst instead of
defvar.
-rw-r--r-- | lisp/org-mobile.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 176fc55..93b1481 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -227,7 +227,7 @@ by the mobile device, this hook should be used to copy the emptied capture file `mobileorg.org' back to the WebDAV directory, for example using `rsync' or `scp'.") -(defvar org-mobile-action-alist +(defconst org-mobile-action-alist '(("edit" . #'org-mobile-edit)) "Alist with flags and actions for mobile sync. When flagging an entry, MobileOrg will create entries that look like @@ -243,9 +243,7 @@ variable. The car of each elements of the alist is an actions string. The cdr is a function that is called with the cursor on the headline of that entry. It should accept three arguments, the :data part, -the old and new values for the entry. - -For now, it is not recommended to change this variable.") +the old and new values for the entry.") (defvar org-mobile-last-flagged-files nil "List of files containing entries flagged in the latest pull.") |