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

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

[nongnu] elpa/sass-mode 37105f4 30/31: Make sass-command-options a list


From: ELPA Syncer
Subject: [nongnu] elpa/sass-mode 37105f4 30/31: Make sass-command-options a list of strings
Date: Sun, 29 Aug 2021 11:29:42 -0400 (EDT)

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

    Make sass-command-options a list of strings
    
    See #24
---
 sass-mode.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sass-mode.el b/sass-mode.el
index d8a56ec..e1dec3a 100644
--- a/sass-mode.el
+++ b/sass-mode.el
@@ -47,7 +47,7 @@
 
 (defcustom sass-command-options nil
   "Options to pass to the `sass' command."
-  :type 'string
+  :type '(repeat string)
   :group 'sass)
 
 (defcustom sass-before-eval-hook nil
@@ -248,7 +248,10 @@ Called from a program, START and END specify the region to 
indent."
              (newline-and-indent)
              (run-hooks 'sass-before-eval-hook)
              (sass--remove-leading-indent)
-             (shell-command-on-region (point-min) (point-max) (mapconcat 
#'identity (list "sass" sass-command-options "--stdin") " ")
+             (shell-command-on-region (point-min)
+                                      (point-max)
+                                      (mapconcat #'identity
+                                                 (append '("sass") 
sass-command-options '("--stdin")) " ")
                                       output-buffer
                                       nil
                                       errors-buffer



reply via email to

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