[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 6d01fbb5c8 3/3: Fix: (hyperdrive-open) Reuse ex
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 6d01fbb5c8 3/3: Fix: (hyperdrive-open) Reuse existing window when possible |
Date: |
Thu, 26 Oct 2023 01:01:14 -0400 (EDT) |
branch: elpa/hyperdrive
commit 6d01fbb5c8950217f2d7789df11cfb11e73f0b19
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Fix: (hyperdrive-open) Reuse existing window when possible
---
hyperdrive-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 9664b1e9bd..47c06d7c18 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -493,7 +493,7 @@ Sends a request to the gateway for hyperdrive's latest
version."
(cl-defun hyperdrive-open
(entry &key recurse (createp t) (messagep t)
(then (lambda ()
- (pop-to-buffer (current-buffer)
'(display-buffer-same-window)))))
+ (pop-to-buffer (current-buffer)
'((display-buffer-reuse-window display-buffer-same-window))))))
"Open hyperdrive ENTRY.
If RECURSE, proceed up the directory hierarchy if given path is
not found. THEN is a function to pass to the handler which will