emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: signal-USR{1,2}-hook


From: Stefan
Subject: Re: signal-USR{1,2}-hook
Date: 29 Jun 2004 07:03:22 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> 1999-02-16  Richard Stallman  <address@hidden>

>       * emacs.c (Qusr1_signal, Qusr2_signal): New variables.
>       (syms_of_emacs): Init and staticpro them.
>       (handle_USR1_signal): Don't run any code, just queue up an event.
>       (handle_USR2_signal): Likewise.

Actually, given the fact that signals come from outside, they can't be
usefully related to any particular buffer, so it's better to use a global
thingy like signal-USR1-hook than a buffer-specific binding to
a [usr1-signal] event.
At least from a purely conceptual point of view.


        Stefan




reply via email to

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