]> git.eshelyaron.com Git - emacs.git/commitdiff
; (scope--analyze-define-widget): Fix typo.
authorEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 10:22:14 +0000 (11:22 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 10:22:14 +0000 (11:22 +0100)
lisp/emacs-lisp/scope.el

index fc8a71e8bfeb160022fecf497195e45631681197..687a2163433340040ab6e3b42bc0ccb92ef63ddc 100644 (file)
@@ -1287,7 +1287,7 @@ a (possibly empty) list of safe macros.")
 
 (scope-define-function-analyzer define-widget (name class _doc &rest args)
   (when-let ((q (scope--unqoute name)))  (scope-report-s q 'widget-type))
-  (when-let ((q (scope--unqoute class))) (scope-report-s q 'type))
+  (when-let ((q (scope--unqoute class))) (scope-report-s q 'widget-type))
   (while-let ((kw (car-safe args))
               (bkw (scope-sym-bare kw))
               ((keywordp bkw)))