From caefb363e69f996e7bcd53f9aa611782a3fc3b4f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 8 Aug 2016 00:13:21 +0200 Subject: [PATCH] org-mobile: Fix last commit * lisp/org-mobile.el (org-mobile-action-alist): Use defconst instead of defvar. --- lisp/org-mobile.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 176fc55c7..93b1481bb 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.") -- 2.11.4.GIT