Remove duplicate straight-are-you-sure advice

This commit is contained in:
Henrik Lissner 2019-10-26 00:58:26 -04:00
parent 177eb9f4cb
commit c2f6aa3e9d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -118,9 +118,6 @@ missing) and shouldn't be deleted.")
;;; Getting straight to behave in batch mode
(when noninteractive
;; HACK Replace GUI popup prompts (which hang indefinitely in tty Emacs) with
;; simple prompts.
(advice-add #'straight-are-you-sure :override #'y-or-n-p)
;; HACK Remove dired & magit options from prompt, since they're inaccessible
;; in noninteractive sessions.
(advice-add #'straight-vc-git--popup-raw :override #'straight--popup-raw))