emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 f1c9286: ; * doc/misc/org.org: fix capture context example


From: Lars Ingebrigtsen
Subject: emacs-28 f1c9286: ; * doc/misc/org.org: fix capture context example
Date: Sun, 31 Oct 2021 11:23:48 -0400 (EDT)

branch: emacs-28
commit f1c9286376d570e898d349200412021fd67e13d2
Author: Hanno Perrey <hanno@hoowl.se>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    ; * doc/misc/org.org: fix capture context example
    
    * doc/misc/org.org (Templates in contexts): Add missing parenthesis to
    code example for org-capture template contexts as documented in
    docstring.
    
    Copyright-paperwork-exempt: yes (bug#51524).
---
 doc/misc/org.org | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/misc/org.org b/doc/misc/org.org
index 788e5ef..17fd2dc 100644
--- a/doc/misc/org.org
+++ b/doc/misc/org.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]