summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-01-25 00:58:31 +0000
committerKarl Heuer <kwzh@gnu.org>1996-01-25 00:58:31 +0000
commit5357cbfe0f497270f170624800a235782db23b93 (patch)
tree7de6118c76adc32c181c7a0f5e4fa234aa163d5f
parentcea7ac58cfa9aff5c85f299770553658809536b8 (diff)
downloademacs-5357cbfe0f497270f170624800a235782db23b93.tar.gz
(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'.
(setq goal-column nil)
(run-hooks 'view-mode-hook)
- (message
+ (message "%s"
(substitute-command-keys
"Type \\[help-command] for help, \\[describe-mode] for commands, \\[view-exit] to quit.")))
@@ -343,7 +343,8 @@ Arg is number of lines to scroll."
(scroll-up lines)))
(cond ((pos-visible-in-window-p (point-max))
(goto-char (point-max))
- (message (substitute-command-keys
+ (message "%s"
+ (substitute-command-keys
"End. Type \\[view-exit] to quit viewing."))))
(move-to-window-line -1)
(beginning-of-line)))