Skip to content

Commit d89a6d8

Browse files
committed
More for GH-198 - cl-block, cl-return-from
1 parent d3ffbc1 commit d89a6d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elisp/yatt-lint-any-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ Currently only RHEL is supported."
234234
(defun yatt-lint-any-lookup (bufname &optional registry)
235235
(setq registry (or registry yatt-lint-any-registry))
236236
(save-match-data
237-
(block loop
237+
(cl-block loop
238238
(while registry
239239
(when (string-match (caar registry) bufname)
240-
(return-from loop (cdar registry)))
240+
(cl-return-from loop (cdar registry)))
241241
(setq registry (cdr registry))))))
242242

243243
(defun yatt-lint-any-run (handler buffer)

0 commit comments

Comments
 (0)