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