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

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

[nongnu] elpa/sass-mode 247a0d4 31/31: Ensure cl-return has a matching b


From: ELPA Syncer
Subject: [nongnu] elpa/sass-mode 247a0d4 31/31: Ensure cl-return has a matching block to return from (see #23)
Date: Sun, 29 Aug 2021 11:29:42 -0400 (EDT)

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

    Ensure cl-return has a matching block to return from (see #23)
---
 sass-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sass-mode.el b/sass-mode.el
index e1dec3a..11ece95 100644
--- a/sass-mode.el
+++ b/sass-mode.el
@@ -120,7 +120,7 @@ beginning of non-whitespace on the current line until one 
matches.
 If it has SUBEXP and FACE, then SUBEXP is highlighted using FACE.
 If it has FN, FN is run.")
 
-(defun sass-highlight-line (limit)
+(cl-defun sass-highlight-line (limit)
   "Highlight a single line using some Sass single-line syntax.
 This syntax is taken from `sass-line-keywords'.
 LIMIT is the limit of the search."
@@ -138,7 +138,7 @@ LIMIT is the limit of the search."
               (setq fn subexp-or-fn))
             (when fn (funcall fn))
             (end-of-line)
-            (cl-return t)))))))
+            (cl-return-from sass-highlight-line t)))))))
 
 (defun sass-highlight-selector ()
   "Highlight a CSS selector starting at `point' and ending at `end-of-line'."



reply via email to

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