diff options
| author | Stefan Monnier | 2001-09-26 15:45:47 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-09-26 15:45:47 +0000 |
| commit | 07e91aa3ca3e0946d2171076a1b292dad7525fab (patch) | |
| tree | c77e2bf823a39237822cc49a0df8713d1bf36542 | |
| parent | b02439c895f5c4c9b0e02ea273bbddd3285e934b (diff) | |
| download | emacs-07e91aa3ca3e0946d2171076a1b292dad7525fab.tar.gz emacs-07e91aa3ca3e0946d2171076a1b292dad7525fab.zip | |
(Info-on-current-buffer): Default arg to "Top".
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/info.el | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e54a675c42e..aef03dd438b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,10 +1,14 @@ | |||
| 1 | 2001-09-26 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * info.el (Info-on-current-buffer): Default arg to "Top". | ||
| 4 | |||
| 1 | 2001-09-25 Eli Barzilay <eli@barzilay.org> | 5 | 2001-09-25 Eli Barzilay <eli@barzilay.org> |
| 2 | 6 | ||
| 3 | * calculator.el (calculator-copy-displayer): New user-option. | 7 | * calculator.el (calculator-copy-displayer): New user-option. |
| 4 | (calculator-displayer-prev, calculator-displayer-next): Renamed | 8 | (calculator-displayer-prev, calculator-displayer-next): |
| 5 | from calculator-displayed-{left,right}. | 9 | Renamed from calculator-displayed-{left,right}. |
| 6 | (calculator, calculator-standard-displayer) | 10 | (calculator, calculator-standard-displayer) |
| 7 | (calculator-num-to-string, calculator-update-display) | 11 | (calculator-num-to-string, calculator-update-display) |
| 8 | (calculator-copy, calculator-put-value): Bug and display fixes. | 12 | (calculator-copy, calculator-put-value): Bug and display fixes. |
| 9 | 13 | ||
| 10 | 2001-09-24 Vinicius Jose Latorre <vinicius@cpqd.com.br> | 14 | 2001-09-24 Vinicius Jose Latorre <vinicius@cpqd.com.br> |
diff --git a/lisp/info.el b/lisp/info.el index 6fbe187fcef..c6fe420a1eb 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -508,12 +508,12 @@ it says do not attempt further (recursive) error recovery." | |||
| 508 | (defun Info-on-current-buffer (&optional nodename) | 508 | (defun Info-on-current-buffer (&optional nodename) |
| 509 | "Use the `Info-mode' to browse the current info buffer. | 509 | "Use the `Info-mode' to browse the current info buffer. |
| 510 | If a prefix arg is provided, it queries for the NODENAME which | 510 | If a prefix arg is provided, it queries for the NODENAME which |
| 511 | else defaults to `Top'." | 511 | else defaults to \"Top\"." |
| 512 | (interactive | 512 | (interactive |
| 513 | (list (if current-prefix-arg | 513 | (list (if current-prefix-arg |
| 514 | (completing-read "Node name: " (Info-build-node-completions) | 514 | (completing-read "Node name: " (Info-build-node-completions) |
| 515 | nil t "Top") | 515 | nil t "Top")))) |
| 516 | "Top"))) | 516 | (unless nodename (setq nodename "Top")) |
| 517 | (info-initialize) | 517 | (info-initialize) |
| 518 | (Info-mode) | 518 | (Info-mode) |
| 519 | (set (make-local-variable 'Info-current-file) t) | 519 | (set (make-local-variable 'Info-current-file) t) |