[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/racket-mode 57582dc9e7 1/4: Remove process check
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/racket-mode 57582dc9e7 1/4: Remove process check |
|
Date: |
Thu, 9 Nov 2023 13:00:07 -0500 (EST) |
branch: elpa/racket-mode
commit 57582dc9e79b6c1ee195e9c98fb51acf18b8fc5e
Author: Greg Hendershott <git@greghendershott.com>
Commit: Greg Hendershott <git@greghendershott.com>
Remove process check
Although harmless, this is unnecessary now that racket-repl-mode
buffers no longer have a process.
---
racket-repl-buffer-name.el | 5 -----
1 file changed, 5 deletions(-)
diff --git a/racket-repl-buffer-name.el b/racket-repl-buffer-name.el
index bb1d9b43fc..e719ed397d 100644
--- a/racket-repl-buffer-name.el
+++ b/racket-repl-buffer-name.el
@@ -72,11 +72,6 @@ they're using a `racket-repl-buffer-name-function' such as
(when (y-or-n-p
(format "No other buffers using %s -- also kill it? "
racket-repl-buffer-name))
- ;; They already said yes. Avoid another prompt about
- ;; killing the buffer's process.
- (pcase (get-buffer-process repl-buffer)
- ((and (pred processp) repl-process)
- (set-process-query-on-exit-flag repl-process nil)))
(kill-buffer repl-buffer))
(message "%s other buffer%s still using %s"
n