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

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

Re: Are two symbols `equal' iff they are `eq'?


From: Eli Zaretskii
Subject: Re: Are two symbols `equal' iff they are `eq'?
Date: Sun, 09 Aug 2015 18:19:11 +0300

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Sun, 09 Aug 2015 17:10:06 +0200
> 
>  tail_recurse:
>   QUIT;
>   if (EQ (o1, o2))
>     return 1;
> 
> >From the capitalization I would guess that QUIT is a C macro.  From its
> name I would guess that anything after it is irrelevant;-).  Well,
> joking aside, I found its definition in the source; do I get it right
> that it quits if something like C-g happens?

Yes.

> If yes, I'd be curious why it is here.

To allow the user to interrupt a (potentially) long operation.

> Apart from that, it seems that I was right: `equal' for
> symbols just calls `eq' (C EQ, not Lisp eq, to be more precise).

What else could it possibly do?



reply via email to

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