Hi Darlan,
Darlan Cavalcante Moreira <[email protected]> writes:
> By a great coincidence I just discovered org-capture-templates-contexts
> yesterday but could not make it work yet (didn't have much time to
> investigate it).
Please try to customize `org-capture-templates-contexts' using the
customize interface. The docstring was giving wrong direction (it
is fixed in latest git though.)
> Is it possible to have capture templates that do not
> appear in any buffer but can be called from lisp?
(setq org-capture-templates-contexts
'(("c" ((not-in-mode . "emacs-lisp-mode")))))
> ps: this rule affecting all sub-templates will also be very userful.
+1!
HTH,
--
Bastien