[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sweeprolog c22703ff36 07/13: ; Don't refuse to kill top-le
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sweeprolog c22703ff36 07/13: ; Don't refuse to kill top-level buffer with deleted process |
Date: |
Sun, 17 Sep 2023 04:00:42 -0400 (EDT) |
branch: elpa/sweeprolog
commit c22703ff3661e52fffa3836f7788a3e87aa200a8
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>
; Don't refuse to kill top-level buffer with deleted process
---
sweeprolog.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/sweeprolog.el b/sweeprolog.el
index 9adaab8bf9..ada99c51bf 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -3281,10 +3281,11 @@ GOAL. Otherwise, GOAL is set to a default value
specified by
(setq sweeprolog-top-level-timer (run-with-idle-timer 0.2 t
#'sweeprolog-colourise-query (current-buffer)))
(add-hook 'kill-buffer-hook
(lambda ()
- (condition-case _
- (sweeprolog-top-level-signal (current-buffer)
- "thread_exit(0)")
- (prolog-exception nil)))
+ (when (process-live-p (get-buffer-process (current-buffer)))
+ (condition-case _
+ (sweeprolog-top-level-signal (current-buffer)
+ "thread_exit(0)")
+ (prolog-exception nil))))
nil t)
(add-hook 'kill-buffer-hook
(lambda ()
- [nongnu] elpa/sweeprolog 3910fab192 03/13: Support Prettify Symbols and similar minor modes, (continued)
- [nongnu] elpa/sweeprolog 3910fab192 03/13: Support Prettify Symbols and similar minor modes, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 3b08a46866 06/13: ; Fix error on Emacs 27 with no 'font-lock-keywords', ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog f2273adbcb 05/13: ENHANCED: Support pty top-level communication instead of TCP, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 556bf2ff3d 11/13: Set 'comint-process-echoes' for top-levels that use a tty, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 8939eb33bc 01/13: ; * sweep.texi (Extract Goal): Improve indexing, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 9fe5830e96 04/13: Provide basic 'prettify-symbols-alist' in Sweep Prolog mode, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 3e61fbdd08 09/13: Improve top-level threads management and cleanup, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 526c1fae14 13/13: Announce recent changes in NEWS.org and bump version to 0.25.0, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog fbd6e91a37 10/13: Improve top-level input fontification, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog 4ad04a8351 12/13: ; * sweeprolog.el: Add docstrings for recently added functions, ELPA Syncer, 2023/09/17
- [nongnu] elpa/sweeprolog c22703ff36 07/13: ; Don't refuse to kill top-level buffer with deleted process,
ELPA Syncer <=
- [nongnu] elpa/sweeprolog 2923357705 08/13: Check that top-level thread is alive when signaling it, ELPA Syncer, 2023/09/17