branch: elpa/sass-mode commit a3f5b1aac94a9852ea616b9f3ba7c37697b34239 Author: Steve Purcell <st...@sanityinc.com> Commit: Steve Purcell <st...@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)))