[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 27b3f3ed16 3/3: Fix: (h/kill-buffer-query-funct
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 27b3f3ed16 3/3: Fix: (h/kill-buffer-query-function) Don't prompt to save EWW buffers |
Date: |
Mon, 15 Jul 2024 19:00:00 -0400 (EDT) |
branch: elpa/hyperdrive
commit 27b3f3ed16d6b8dd434a6d4b537e8e4c29305620
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: (h/kill-buffer-query-function) Don't prompt to save EWW buffers
It's unlikely that the user will ever want to overwrite an HTML with
the rendered EWW content.
---
hyperdrive.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/hyperdrive.el b/hyperdrive.el
index 15df89eace..4b19da2e38 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -861,6 +861,7 @@ The return value of this function is the retrieval buffer."
"Ask before killing an unsaved hyperdrive file buffer."
(if (and h/mode
h/current-entry
+ (not (derived-mode-p 'eww-mode))
(not (h//entry-directory-p h/current-entry))
(buffer-modified-p))
(h//kill-buffer-possibly-save (current-buffer))