branch: elpa/hyperdrive
commit 465e8a1aca351bae5720e2a66750bebd56d702b9
Author: Joseph Turner <jos...@ushin.org>
Commit: Joseph Turner <jos...@ushin.org>

    Comment: Explanation
---
 hyperdrive.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hyperdrive.el b/hyperdrive.el
index 4aa808f79b..f375ace2e2 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -359,6 +359,8 @@ for more information.  See `hyperdrive-read-entry' and
 `hyperdrive-complete-hyperdrive'."
   (interactive (list (hyperdrive-read-entry :force-prompt current-prefix-arg)))
   (hyperdrive-open entry
+    ;; `view-buffer' checks the mode-class symbol property of
+    ;; `major-mode' and avoids putting directory buffers in `view-mode'.
     :createp nil :then (lambda () (view-buffer (current-buffer)))))
 
 ;;;###autoload

Reply via email to