summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rose <sebastian_rose@gmx.de>2010-09-01 05:15:48 +0000
committerBastien Guerry <bzg@altern.org>2010-09-02 16:41:53 +0200
commitfc49c1ec96b2c789f573ae1ba936b930a8494402 (patch)
treeb5a014db9b71dabe14c8ac31c0e2c0217de33664
parent11e7a573a5c0d443eedfa9aa5716d5616e89a229 (diff)
downloadorg-mode-fc49c1ec96b2c789f573ae1ba936b930a8494402.tar.gz
org-protocol default template should be nil
Hi Carsten, this little patch fixes an issue Richard brought up. We always used the "w" template as the default for `org-remember' and also used it for `org-capture' for historical reasons. Unfortunately, this breaks, if the user has no "w" template defined. The patch below simply set's the custom variable `org-protocol-default-template-key' to nil, so the interactive template selection is used by default. This works for both, remember an capture. I will adjust the docs, once the patch is applied. Thanks, Sebastian
-rw-r--r--lisp/org-protocol.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
index 3f240fd..21f28e7 100644
--- a/lisp/org-protocol.el
+++ b/lisp/org-protocol.el
@@ -260,7 +260,7 @@ Here is an example:
:group 'org-protocol
:type '(alist))
-(defcustom org-protocol-default-template-key "w"
+(defcustom org-protocol-default-template-key nil
"The default org-remember-templates key to use."
:group 'org-protocol
:type 'string)