forked from mirrors/org-mode
org-capture-template-contexts: Improve docstring
* lisp/org-capture.el (org-capture-templates-contexts): Clarify that function context definition is not a cons cell using example.
This commit is contained in:
parent
8d6ec48b84
commit
5e378a6e13
|
@ -584,7 +584,9 @@ this template to be accessible only from `message-mode' buffers,
|
|||
use this:
|
||||
|
||||
(setq org-capture-templates-contexts
|
||||
\\='((\"c\" ((in-mode . \"message-mode\")))))
|
||||
\\='((\"c\" ((in-mode . \"message-mode\")))
|
||||
(\"d\" (my-context-function
|
||||
(in-mode . \"org-mode\")))))
|
||||
|
||||
Here are the available contexts definitions:
|
||||
|
||||
|
|
Loading…
Reference in New Issue