emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/forth-mode 45650c28a2 140/153: Check if forth interactive


From: ELPA Syncer
Subject: [nongnu] elpa/forth-mode 45650c28a2 140/153: Check if forth interactive buffer is live
Date: Sat, 29 Jan 2022 08:02:27 -0500 (EST)

branch: elpa/forth-mode
commit 45650c28a2cdc149a4480d5ea754758c75f8eb01
Author: Mario Rodas <marsam@users.noreply.github.com>
Commit: Lars Brinkhoff <lars@nocrew.org>

    Check if forth interactive buffer is live
    
    When the buffer is killed the variable `forth-interaction-buffer` 
references to
    a killed buffer.
---
 forth-interaction-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index 9c5373d258..b24e778ad8 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -99,7 +99,7 @@
   (run-forth))
 
 (defun forth-ensure ()
-  (unless forth-interaction-buffer
+  (unless (buffer-live-p forth-interaction-buffer)
     (run-forth))
   (get-buffer-process forth-interaction-buffer))
 



reply via email to

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