; * 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).
This commit is contained in:
parent
af67ce64ed
commit
f1c9286376
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue