emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/sass-mode a3f5b1a 19/31: Send errors to a separate buffer


From: ELPA Syncer
Subject: [nongnu] elpa/sass-mode a3f5b1a 19/31: Send errors to a separate buffer
Date: Sun, 29 Aug 2021 11:29:39 -0400 (EDT)

branch: elpa/sass-mode
commit a3f5b1aac94a9852ea616b9f3ba7c37697b34239
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Send errors to a separate buffer
---
 sass-mode.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sass-mode.el b/sass-mode.el
index eaf6bbd..c1e89a5 100644
--- a/sass-mode.el
+++ b/sass-mode.el
@@ -217,8 +217,12 @@ LIMIT is the limit of the search."
   "Displays the CSS output for the current block of Sass code.
 Called from a program, START and END specify the region to indent."
   (interactive "r")
-  (let ((output-buffer "*sass-output*"))
-    (shell-command-on-region start end "sass --stdin" output-buffer)
+  (let ((output-buffer "*sass-output*")
+        (errors-buffer "*sass-errors*"))
+    (shell-command-on-region start end "sass --stdin"
+                             output-buffer
+                             nil
+                             errors-buffer)
     (when (fboundp 'css-mode)
       (with-current-buffer output-buffer
         (css-mode)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]