Remove duplicate straight-are-you-sure advice
This commit is contained in:
parent
177eb9f4cb
commit
c2f6aa3e9d
1 changed files with 0 additions and 3 deletions
|
@ -118,9 +118,6 @@ missing) and shouldn't be deleted.")
|
||||||
|
|
||||||
;;; Getting straight to behave in batch mode
|
;;; Getting straight to behave in batch mode
|
||||||
(when noninteractive
|
(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
|
;; HACK Remove dired & magit options from prompt, since they're inaccessible
|
||||||
;; in noninteractive sessions.
|
;; in noninteractive sessions.
|
||||||
(advice-add #'straight-vc-git--popup-raw :override #'straight--popup-raw))
|
(advice-add #'straight-vc-git--popup-raw :override #'straight--popup-raw))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue