branch: externals/hyperbole
commit 807fdb3fde34a8d17d3db53ae08e1b5e1bde8241
Author: Mats Lidell <[email protected]>
Commit: GitHub <[email protected]>
Use view-mode for fast demo (#309)
---
ChangeLog | 4 ++++
hypb.el | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d6e2315565..0f71db6e52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-02-19 Mats Lidell <[email protected]>
+
+* hypb.el (hypb:display-file-with-logo): Use view-mode for fast demo.
+
2023-02-18 Mats Lidell <[email protected]>
* test/hmouse-drv-tests.el (hbut-defil-it): Do not follow symbolic
diff --git a/hypb.el b/hypb.el
index 253a9545bb..d2b4875cf7 100644
--- a/hypb.el
+++ b/hypb.el
@@ -3,7 +3,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 6-Oct-91 at 03:42:38
-;; Last-Mod: 5-Feb-23 at 23:44:24 by Mats Lidell
+;; Last-Mod: 19-Feb-23 at 22:43:13 by Mats Lidell
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -980,7 +980,7 @@ If FILE is not an absolute path, expand it relative to
`hyperb:dir'."
(skip-syntax-forward "-")
(set-window-start (selected-window) 1)
(set-buffer-modified-p nil)
- (help-mode)
+ (view-mode)
;; On some versions of Emacs like Emacs28, need a slight delay
;; for file loading before searches will work properly.
;; Otherwise, "test/demo-tests.el" may fail.