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

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

Re: Attribute names when calling face-attribute


From: Emanuel Berg
Subject: Re: Attribute names when calling face-attribute
Date: Thu, 13 Jan 2022 01:54:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

fatiparty--- via Users list for the GNU Emacs text editor wrote:

> (* height ricci-scale)))) ; assumes height is integer

You can do 

  (and (integerp height) height)

to make sure it crashes on bogus data. This is better than to
have it almost always crash on bogus data ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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