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

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

[nongnu] elpa/hyperdrive bf17905b6c 04/15: Change: (hyperdrive-view-file


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive bf17905b6c 04/15: Change: (hyperdrive-view-file) Always force-prompt
Date: Tue, 10 Oct 2023 19:00:33 -0400 (EDT)

branch: elpa/hyperdrive
commit bf17905b6cccfc8773322fc3445682a81916fbe3
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Change: (hyperdrive-view-file) Always force-prompt
---
 hyperdrive.el | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index 77ddecce73..c470836ee6 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -332,15 +332,11 @@ Interactively, prompts for known hyperdrive and path."
 ;;;###autoload
 (defun hyperdrive-view-file (entry)
   "View ENTRY in `view-mode', returning to previous buffer when done.
-Interactively, prompts for known hyperdrive and path.
-
-With universal prefix argument \\[universal-argument], prompts
-for more information.  See `hyperdrive-read-entry' and
-`hyperdrive-complete-hyperdrive'."
+Interactively, prompts for known hyperdrive and path."
   ;; TODO: Stay in `view-mode' after
   ;; `hyperdrive-previous-version'/`hyperdrive-next-version'. This may
   ;; require another minor mode.
-  (interactive (list (hyperdrive-read-entry :force-prompt current-prefix-arg)))
+  (interactive (list (hyperdrive-read-entry :force-prompt t)))
   (hyperdrive-open entry
     ;; `view-buffer' checks the mode-class symbol property of
     ;; `major-mode' and avoids putting directory buffers in `view-mode'.



reply via email to

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