diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index d0d676f..63069a1 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0613.185557 +;; Version: 2023.0613.234632 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-bullets org-edna diminish all-the-icons olivetti form-feed org-pretty-table) ;; This program is free software; you can redistribute it and/or modify @@ -1224,6 +1224,8 @@ This is done by adding a ‘:hidden t’ header argument to the code block." :empty-lines 1 :immediate-finish t :jump-to-captured t)) +(setf (map-elt org-capture-templates-contexts "sE") + '(((in-mode . "org-mode")))) (setf (map-elt org-capture-templates "se") '("Questions for Emacs articles" plain (function ignore) @@ -1232,9 +1234,13 @@ This is done by adding a ‘:hidden t’ header argument to the code block." :empty-lines 1 :immediate-finish t :jump-to-captured t)) +(setf (map-elt org-capture-templates-contexts "se") + '(((in-mode . "org-mode")))) (setf (map-elt org-capture-templates "s") '("Snippets")) +(setf (map-elt org-capture-templates-contexts "s") + '(((in-mode . "org-mode")))) (setf (map-elt org-capture-templates "t") '("A simple TODO item." entry (file "") "* TODO %?