diff --git a/config.org b/config.org index f60b4e5..30ad5f3 100644 --- a/config.org +++ b/config.org @@ -3444,7 +3444,8 @@ The goal is to hook into Org's capturing system to get it to feed its template i :around #'org-capture-place-template (let* ((template (org-capture-get :template)) (org-capture-plist (plist-put org-capture-plist :template ""))) - (cl-letf (((symbol-function 'org-kill-is-subtree-p) #'always)) + (letf! ((#'org-paste-subtree #'ignore) + (#'org-kill-is-subtree-p #'always)) (funcall old-fn arg) (yas-expand-snippet template)))) #+end_src