(scope-cl-macrolet local (cdr bindings) body))))
(scope-n local body)))
-(defun scope-define-global-minor-mode (local global mode turn-on body)
- (scope-sharpquote local mode)
- (scope-sharpquote local turn-on)
- (scope-define-minor-mode local global nil body))
-
(defun scope-define-minor-mode (local mode _doc body)
(let ((explicit-var nil))
(while-let ((kw (car-safe body))
(put 'custom-declare-theme 'scope-analyzer #'scope--analyze-provide-theme)
(scope-define-macro-analyzer define-globalized-minor-mode (l global mode turn-on &rest body)
- (scope-define-global-minor-mode l global mode turn-on body))
+ (scope-report-s mode 'function)
+ (scope-report-s turn-on 'function)
+ (scope-define-minor-mode l global nil body))
(scope-define-macro-analyzer lambda (l args &rest body)
(scope-lambda l args body))