help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling non-interactive use with faces


From: Eli Zaretskii
Subject: Re: Handling non-interactive use with faces
Date: Wed, 10 Aug 2022 20:36:02 +0300

> Date: Wed, 10 Aug 2022 19:23:05 +0200 (CEST)
> From: carlmarcos--- via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org>
> 
> How can this function be made to handle the case of non-interactive use to 
> pass a face for displaying its properties?
> 
> 
> (defun laxy-descface (facenm)
>   "Describe the typeface properties of face name FACENM."

You need to add a pcase alternative for a face or face name, and then
you call your function with that face as a single argument.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]