Mercurial > emacs
changeset 39459:a7adbd38c82a
(Info-on-current-buffer): Default arg to "Top".
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 26 Sep 2001 15:40:48 +0000 |
parents | 30f1175b2a9f |
children | 2e69142385ba |
files | lisp/info.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Wed Sep 26 15:30:07 2001 +0000 +++ b/lisp/info.el Wed Sep 26 15:40:48 2001 +0000 @@ -508,12 +508,12 @@ (defun Info-on-current-buffer (&optional nodename) "Use the `Info-mode' to browse the current info buffer. If a prefix arg is provided, it queries for the NODENAME which -else defaults to `Top'." +else defaults to \"Top\"." (interactive (list (if current-prefix-arg (completing-read "Node name: " (Info-build-node-completions) - nil t "Top") - "Top"))) + nil t "Top")))) + (unless nodename (setq nodename "Top")) (info-initialize) (Info-mode) (set (make-local-variable 'Info-current-file) t)