aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-01-25 00:58:31 +0000
committerKarl Heuer1996-01-25 00:58:31 +0000
commitb32e84552ef4a448c97594e03e19c641dc03c510 (patch)
treef9f197adaf621fe86f6f959170757af553964363
parent8ea884c3fef0486ab88920330d2f60ef0c1242d6 (diff)
downloademacs-b32e84552ef4a448c97594e03e19c641dc03c510.tar.gz
emacs-b32e84552ef4a448c97594e03e19c641dc03c510.zip
(view-mode-enter, View-scroll-lines-forward): Pass proper format string to message.
-rw-r--r--lisp/view.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/view.el b/lisp/view.el
index ac117bb404b..926c2454f6e 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -262,7 +262,7 @@ This function runs the normal hook `view-mode-hook'.
262 (setq goal-column nil) 262 (setq goal-column nil)
263 263
264 (run-hooks 'view-mode-hook) 264 (run-hooks 'view-mode-hook)
265 (message 265 (message "%s"
266 (substitute-command-keys 266 (substitute-command-keys
267 "Type \\[help-command] for help, \\[describe-mode] for commands, \\[view-exit] to quit."))) 267 "Type \\[help-command] for help, \\[describe-mode] for commands, \\[view-exit] to quit.")))
268 268
@@ -343,7 +343,8 @@ Arg is number of lines to scroll."
343 (scroll-up lines))) 343 (scroll-up lines)))
344 (cond ((pos-visible-in-window-p (point-max)) 344 (cond ((pos-visible-in-window-p (point-max))
345 (goto-char (point-max)) 345 (goto-char (point-max))
346 (message (substitute-command-keys 346 (message "%s"
347 (substitute-command-keys
347 "End. Type \\[view-exit] to quit viewing.")))) 348 "End. Type \\[view-exit] to quit viewing."))))
348 (move-to-window-line -1) 349 (move-to-window-line -1)
349 (beginning-of-line))) 350 (beginning-of-line)))