diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-04-20 21:57:54 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-04-20 21:57:54 -0400 |
commit | 7990b059ecc9149d529dd3998bdb8401e050d9ff (patch) | |
tree | bc715cc3ed049e1fd5528ae66fed09b6fca11f44 | |
parent | b2183529093323c1bcee068c04304407b9538d96 (diff) | |
download | emacs.d-7990b059ecc9149d529dd3998bdb8401e050d9ff.tar.gz |
org-board: Confirm before archiving
-rw-r--r-- | init.el | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -303,6 +303,15 @@ :init (put 'org-attach-directory 'safe-local-variable #'stringp)) +(use-package org-board + :defer t + :config + (advice-add 'org-board-archive :before + (lambda (&rest _) + (unless (yes-or-no-p "Archive entry? ") + (user-error "Archiving aborted"))) + '((name . "org-board-archive-confirm")))) + (use-package km-org :defer t :init |