[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13289: 24.2; bookmark didn't save when using emacsclient
From: |
Chong Yidong |
Subject: |
bug#13289: 24.2; bookmark didn't save when using emacsclient |
Date: |
Sat, 19 Jan 2013 16:50:51 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) |
Chong Yidong <cyd@gnu.org> writes:
> The reason is the following. The above call to `pp' contains a call to
> `scan-lists' which is enclosed in `ignore-errors'. Normally, the error
> is caught and `pp' goes on to do its job. However, because the hook is
> being run while Emacs is in a sigterm handler waiting to die (so that
> waiting_for_input is true), the Fsignal aborts Emacs instead of
> signalling a Lisp error:
The straightforward fix---setting waiting_for_input to 0 in
Fkill_emacs---seems to work fine, so I went ahead and committed it to
trunk.