From d74ff6d323b82172c0228e0321062d7c1044e977 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 11 Apr 2025 21:36:36 +0200 Subject: [PATCH] scope.el: Handle 'add-face-text-property'. --- lisp/emacs-lisp/scope.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/emacs-lisp/scope.el b/lisp/emacs-lisp/scope.el index a2e45a3e47a..b7d488aa5c3 100644 --- a/lisp/emacs-lisp/scope.el +++ b/lisp/emacs-lisp/scope.el @@ -1571,6 +1571,9 @@ a (possibly empty) list of safe macros.") (face (scope--unqoute val))) (scope-face face))) +(scope-define-function-analyzer add-face-text-property (&optional _start _end face &rest _) + (when-let ((q (scope--unqoute face))) (scope-face q))) + (scope-define-function-analyzer boundp (var &rest _) (when-let ((q (scope--unqoute var))) (scope-report-s q 'variable))) -- 2.39.5