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

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

Re: What is the difference between C-g and M-x keyboard-quit?


From: Michael Heerdegen
Subject: Re: What is the difference between C-g and M-x keyboard-quit?
Date: Wed, 16 Sep 2015 08:27:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Dan Espen <despen@verizon.net> writes:

> Signal a `quit' condition.
> During execution of Lisp code, this character causes a quit directly.
> At top-level, as an editor command, this simply beeps.

But if you look at the code, you see that

    (signal 'quit nil)

is always executed.  If you get a beep depends on whether the quit
is caught.  But the behavior should be independent from how you invoke
`keyboard-quit' in one and the same context - either the quit signal
gets caught (no beep) or it isn't (beep).


Michael.




reply via email to

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