File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -559,14 +559,12 @@ function with the quoted name of the argument, or use t."
559
559
560
560
;;;;; Messaging
561
561
562
- (defun straight--output (string &rest objects)
563
- "Same as `message' (which see for STRING and OBJECTS) normally.
564
- However, in batch mode, print to stdout instead of stderr."
565
- (if noninteractive
566
- (progn
567
- (princ (apply #'format string objects))
568
- (terpri))
569
- (apply #'message string objects)))
562
+ ;; This used to be a function that would be `message' interactively
563
+ ;; but print to stdout (rather than stderr, as `message' does) in
564
+ ;; batch mode. I changed it because it was strange to output status
565
+ ;; messages to stdout. See:
566
+ ;; https://github.com/radian-software/straight.el/issues/1200
567
+ (defalias 'straight--output #'message)
570
568
571
569
(defmacro straight--with-progress (task &rest body)
572
570
"Displaying TASK as a progress indicator, eval and return BODY.
You can’t perform that action at this time.
0 commit comments