]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-on-current-buffer): Default arg to "Top".
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 26 Sep 2001 15:45:47 +0000 (15:45 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 26 Sep 2001 15:45:47 +0000 (15:45 +0000)
lisp/ChangeLog
lisp/info.el

index e54a675c42e0cf50e7aa8948ba924812a1df41a2..aef03dd438b5fefec44f56b2a86ebdbdd7f96e21 100644 (file)
@@ -1,10 +1,14 @@
+2001-09-26  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * info.el (Info-on-current-buffer): Default arg to "Top".
+
 2001-09-25  Eli Barzilay  <eli@barzilay.org>
 
        * calculator.el (calculator-copy-displayer): New user-option.
-       (calculator-displayer-prev, calculator-displayer-next): Renamed
-       from calculator-displayed-{left,right}.
-       (calculator, calculator-standard-displayer) 
-       (calculator-num-to-string, calculator-update-display) 
+       (calculator-displayer-prev, calculator-displayer-next):
+       Renamed from calculator-displayed-{left,right}.
+       (calculator, calculator-standard-displayer)
+       (calculator-num-to-string, calculator-update-display)
        (calculator-copy, calculator-put-value): Bug and display fixes.
 
 2001-09-24  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
index 6fbe187fcef5d4762dfebeb457833a33e13ad18d..c6fe420a1eb82b089c2bb9d6276320dd797a2832 100644 (file)
@@ -508,12 +508,12 @@ it says do not attempt further (recursive) error recovery."
 (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)