comparison lisp/prim/help.el @ 22:8fc7fe29b841 r19-15b94

Import from CVS: tag r19-15b94
author cvs
date Mon, 13 Aug 2007 08:50:29 +0200
parents 0293115a14e9
children 4103f0995bd7
comparison
equal deleted inserted replaced
21:b88636d63495 22:8fc7fe29b841
380 (message 380 (message
381 (substitute-command-keys "Type \\[delete-other-windows] to remove help window, \\[scroll-other-window] to scroll the help."))) 381 (substitute-command-keys "Type \\[delete-other-windows] to remove help window, \\[scroll-other-window] to scroll the help.")))
382 (t 382 (t
383 (message 383 (message
384 (substitute-command-keys "Type \\[switch-to-buffer-other-window] to restore the other window, \\[scroll-other-window] to scroll the help.")))) 384 (substitute-command-keys "Type \\[switch-to-buffer-other-window] to restore the other window, \\[scroll-other-window] to scroll the help."))))
385 (shrink-window-if-larger-than-buffer helpwin))))))) 385 (when temp-buffer-shrink-to-fit
386 (shrink-window-if-larger-than-buffer helpwin))))))))
386 387
387 (defun describe-key (key) 388 (defun describe-key (key)
388 "Display documentation of the function invoked by KEY. 389 "Display documentation of the function invoked by KEY.
389 KEY is a string, or vector of events. 390 KEY is a string, or vector of events.
390 When called interactvely, KEY may also be a menu selection." 391 When called interactvely, KEY may also be a menu selection."