]> git.eshelyaron.com Git - emacs.git/commitdiff
scope.el: Recognize face arg of pulse-momentary-highlight-region
authorEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 08:41:39 +0000 (09:41 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 08:41:39 +0000 (09:41 +0100)
lisp/emacs-lisp/scope.el

index 176c1260f5184982afe715b48631262d1b416268..cdb374d990b8b663d0f7002b4aa98f5f7cfc959a 100644 (file)
@@ -1199,6 +1199,9 @@ a (possibly empty) list of safe macros.")
   (when-let ((q (scope--unqoute type)) ((not (booleanp q))))
     (scope-report-s q 'type)))
 
+(scope-define-function-analyzer pulse-momentary-highlight-region (_start _end &optional face)
+  (when-let ((q (scope--unqoute face))) (scope-face q)))
+
 (scope-define-function-analyzer throw (tag _value)
   (when-let ((q (scope--unqoute tag))) (scope-report-s q 'throw-tag)))