diff options
| author | Spencer Baugh | 2024-02-13 12:20:39 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2024-02-24 11:24:26 +0200 |
| commit | 526c262149839702b94253d5eff195054ac5cd9e (patch) | |
| tree | 16c4468708a4cf73037731cb7efeb81c9e427b7b /java | |
| parent | a8fe17e49a5c4ec1490966271c68a1b8add8d41a (diff) | |
| download | emacs-526c262149839702b94253d5eff195054ac5cd9e.tar.gz emacs-526c262149839702b94253d5eff195054ac5cd9e.zip | |
Check daemon is initialized before suppressing its init errors
Previously, the default error handler would correctly suppress
unhandled errors raised when IS_DAEMON and the initial frame
was current, since this is the normal state of operation for a
daemon-mode Emacs. However, this also incorrectly suppressed
errors raised while a daemon-mode Emacs was starting up.
Now, errors raised while a daemon-mode Emacs is starting up will be
handled just like errors when a non-daemon Emacs is starting up.
This was previously the case before changes for bug#1310 and
bug#1836, which added the suppression of errors when IS_DAEMON.
DAEMON_RUNNING didn't exist at the time of those changes, but now
it does, so we can do better.
* src/keyboard.c (Fcommand_error_default_function): Check
!DAEMON_RUNNING in addition to IS_DAEMON. (Bug#68799)
* src/lisp.h (DAEMON_RUNNING): Add a clarifying comment about
what this #define means.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions