From a0ad34b8d432b513d476f44e5da5ae31f9039516 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 12 Jan 2013 09:20:17 +0100 Subject: [PATCH] Docstring fixes. * org-capture.el (org-capture-templates-contexts): * org-agenda.el (org-agenda-custom-commands-contexts): Docstring fix. --- lisp/org-agenda.el | 4 ++-- lisp/org-capture.el | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 86fb04b24..05fb797ce 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2390,7 +2390,7 @@ For example, if you have a custom agenda command \"p\" and you want this command to be accessible only from plain text files, use this: - '((\"p\" (in-file . \"\\.txt\"))) + '((\"p\" ((in-file . \"\\.txt\")))) Here are the available contexts definitions: @@ -2406,7 +2406,7 @@ accessible if there is at least one valid check. You can also bind a key to another agenda custom command depending on contextual rules. - '((\"p\" \"q\" (in-file . \"\\.txt\"))) + '((\"p\" \"q\" ((in-file . \"\\.txt\")))) Here it means: in .txt files, use \"p\" as the key for the agenda command otherwise associated with \"q\". (The command diff --git a/lisp/org-capture.el b/lisp/org-capture.el index c888536b3..8a271b8d0 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -451,7 +451,7 @@ For example, if you have a capture template \"c\" and you want this template to be accessible only from `message-mode' buffers, use this: - '((\"c\" (in-mode . \"message-mode\"))) + '((\"c\" ((in-mode . \"message-mode\")))) Here are the available contexts definitions: @@ -467,11 +467,11 @@ accessible if there is at least one valid check. You can also bind a key to another agenda custom command depending on contextual rules. - '((\"c\" \"d\" (in-mode . \"message-mode\"))) + '((\"c\" \"d\" ((in-mode . \"message-mode\")))) -Here it means: in `message-mode buffers', use \"d\" as the +Here it means: in `message-mode buffers', use \"c\" as the key for the capture template otherwise associated with \"d\". -\(The template originally associated with \"q\" is not displayed +\(The template originally associated with \"d\" is not displayed to avoid duplicates.)" :version "24.3" :group 'org-capture -- 2.11.4.GIT