summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-org.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/custom/my-org.el b/emacs/custom/my-org.el
index 759af7b..4a7faaf 100644
--- a/emacs/custom/my-org.el
+++ b/emacs/custom/my-org.el
@@ -127,6 +127,10 @@
               (in-mode . "notmuch-show-mode")
               (in-mode . "notmuch-tree-mode")))))
 
+;; elisp links to these functions are considered safe, I don't need a
+;; prompt to confirm if that's what I want to execute.
+(setq org-link-elisp-skip-confirm-regexp (rx (or "elfeed" "notmuch")))
+
 ;; https://stackoverflow.com/questions/20164918/how-to-untick-checkboxes-in-org-mode-for-the-next-cyclic-repetitive-task
 (defun my/org-reset-checkbox-state-maybe ()
   "Reset all checkboxes in an entry if the `RESET_CHECK_BOXES' property is set."