emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org e7085ea: Backport commit f1c928637 from Ema


From: ELPA Syncer
Subject: [elpa] externals-release/org e7085ea: Backport commit f1c928637 from Emacs
Date: Mon, 1 Nov 2021 20:57:32 -0400 (EDT)

branch: externals-release/org
commit e7085eaa5761997e55b73fce16c1d9ba8ba8885d
Author: Hanno Perrey <hanno@hoowl.se>
Commit: Kyle Meyer <kyle@kyleam.com>

    Backport commit f1c928637 from Emacs
    
    * doc/org-manual.org (Templates in contexts): Add missing parenthesis to
    code example for org-capture template contexts as documented in
    docstring.
    
    ; * doc/misc/org.org: fix capture context example
    f1c9286376d570e898d349200412021fd67e13d2
    Hanno Perrey
    Sun Oct 31 16:23:41 2021 +0100
---
 doc/org-manual.org | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 96ee069..def0fc7 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -7981,7 +7981,7 @@ patches.  Then you would configure this option like this:
 
 #+begin_src emacs-lisp
 (setq org-capture-templates-contexts
-      '(("p" (in-mode . "message-mode"))))
+      '(("p" ((in-mode . "message-mode")))))
 #+end_src
 
 You can also tell that the command key {{{kbd(p)}}} should refer to
@@ -7989,7 +7989,7 @@ another template.  In that case, add this command key 
like this:
 
 #+begin_src emacs-lisp
 (setq org-capture-templates-contexts
-      '(("p" "q" (in-mode . "message-mode"))))
+      '(("p" "q" ((in-mode . "message-mode")))))
 #+end_src
 
 See the docstring of the variable for more information.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]