comparison lisp/view.el @ 931:f23882d7315a

entered into RCS
author Eric S. Raymond <esr@snark.thyrsus.com>
date Tue, 04 Aug 1992 17:23:48 +0000
parents 1dac458b5117
children d98c49df2acd
comparison
equal deleted inserted replaced
930:1dac458b5117 931:f23882d7315a
280 (set-window-configuration view-return-here))) 280 (set-window-configuration view-return-here)))
281 (if action (funcall action viewed-buffer)))) 281 (if action (funcall action viewed-buffer))))
282 282
283 (defun view-helpful-message () 283 (defun view-helpful-message ()
284 (message 284 (message
285 (if (and (eq (key-binding (char-to-string help-char)) 'Helper-help)
286 (eq (key-binding "?") 'Helper-describe-bindings)
287 (eq (key-binding "\C-c") 'view-exit))
288 "Type \\[Helper-help] for help, ? for commands, C-c to quit"
289 (substitute-command-keys 285 (substitute-command-keys
290 "Type \\[Helper-help] for help, \\[Helper-describe-bindings] for commands, \\[view-exit] to quit.")))) 286 "Type \\[Helper-help] for help, \\[Helper-describe-bindings] for commands, \\[view-exit] to quit.")))
291 287
292 (defun View-undefined () 288 (defun View-undefined ()
293 (interactive) 289 (interactive)
294 (ding) 290 (ding)
295 (view-helpful-message)) 291 (view-helpful-message))