[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling non-interactive use with faces
From: |
carlmarcos |
Subject: |
Re: Handling non-interactive use with faces |
Date: |
Thu, 11 Aug 2022 20:32:10 +0200 (CEST) |
Aug 11, 2022, 16:08 by eliz@gnu.org:
>> Date: Thu, 11 Aug 2022 17:56:23 +0200 (CEST)
>> Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
>> From: carlmarcos--- via Users list for the GNU Emacs text editor
>> <help-gnu-emacs@gnu.org>
>>
>> > 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.
>>
>> I am struggling to figure out what kind of `pcase' I should use for the
>> scheme you suggest.
>>
>
> I guess use stringp for face names and facep for faces?
>
That would require two pcase statements, first to handle face names with
stringp, then for faces with facep.
- Handling non-interactive use with faces, carlmarcos, 2022/08/10
- Re: Handling non-interactive use with faces, Eli Zaretskii, 2022/08/10
- Message not available
- Re: Handling non-interactive use with faces, carlmarcos, 2022/08/11
- Re: Handling non-interactive use with faces, Eli Zaretskii, 2022/08/11
- Re: Handling non-interactive use with faces,
carlmarcos <=
- Re: Handling non-interactive use with faces, Eli Zaretskii, 2022/08/11
- Re: Handling non-interactive use with faces, carlmarcos, 2022/08/11
- Re: Handling non-interactive use with faces, Michael Heerdegen, 2022/08/12
- Re: Handling non-interactive use with faces, carlmarcos, 2022/08/12
- Re: Handling non-interactive use with faces, Michael Heerdegen, 2022/08/12
- Re: Handling non-interactive use with faces, uzibalqa, 2022/08/12
- Re: Handling non-interactive use with faces, Michael Heerdegen, 2022/08/12
- Re: Handling non-interactive use with faces, uzibalqa, 2022/08/12
- Re: Handling non-interactive use with faces, tomas, 2022/08/13