diff --git a/config.org b/config.org index eb51145..61d8f5b 100644 --- a/config.org +++ b/config.org @@ -2734,7 +2734,6 @@ I use the standard Unix-style password management system, [[https://www.password (after! pass (setq pass-show-keybindings nil ; Keybindings take up too much space - pass-suppress-confirmations t ; Quit shouldn't need a confirm step )) ;; Move to right side @@ -2783,6 +2782,15 @@ When visiting a password file, the file's buffer replaces the pass buffer, which :side 'bottom :size 8 :quit t :modeline t) #+end_src +Asking for confirmation on ~pass-quit~ is ridiculous, seeing as it doesn't actually do anything sensitive or permanent. The other instances of confirmation are comparatively much more important, so I won't touch those. + +#+begin_src emacs-lisp +(defadvice! ~/pass-quit-suppress-confirmation (orig-fn) + :around #'pass-quit + (let ((pass-suppress-confirmations t)) + (funcall orig-fn))) +#+end_src + * Org #+call: confpkg()