aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-12-12 05:15:53 +0000
committerRichard M. Stallman2005-12-12 05:15:53 +0000
commit70746649f8cb997fce9dcd921164574dd8dc68c5 (patch)
tree79d36298d0cd5e02d3b90458351223d678e52565
parent9c8b2150403570970c3e08dcb415fdea6a723cd2 (diff)
downloademacs-70746649f8cb997fce9dcd921164574dd8dc68c5.tar.gz
emacs-70746649f8cb997fce9dcd921164574dd8dc68c5.zip
(Info-on-current-buffer): Doc fix.
(info-insert-file-contents): Don't test (featurep 'jka-compr).
-rw-r--r--lisp/info.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 94bf36222f0..24d92b2bdd7 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -448,8 +448,7 @@ Do the right thing if the file has been compressed or zipped."
448 (or tail 448 (or tail
449 (error "Can't find %s or any compressed version of it" filename))) 449 (error "Can't find %s or any compressed version of it" filename)))
450 ;; check for conflict with jka-compr 450 ;; check for conflict with jka-compr
451 (if (and (featurep 'jka-compr) 451 (if (and (jka-compr-installed-p)
452 (jka-compr-installed-p)
453 (jka-compr-get-compression-info fullname)) 452 (jka-compr-get-compression-info fullname))
454 (setq decoder nil)) 453 (setq decoder nil))
455 (if decoder 454 (if decoder
@@ -698,9 +697,9 @@ it says do not attempt further (recursive) error recovery."
698 697
699;;;###autoload 698;;;###autoload
700(defun Info-on-current-buffer (&optional nodename) 699(defun Info-on-current-buffer (&optional nodename)
701 "Use the `Info-mode' to browse the current Info buffer. 700 "Use Info mode to browse the current Info buffer.
702If a prefix arg is provided, it queries for the NODENAME which 701With a prefix arg, this queries for the node name to visit first;
703else defaults to \"Top\"." 702otherwise, that defaults to `Top'."
704 (interactive 703 (interactive
705 (list (if current-prefix-arg 704 (list (if current-prefix-arg
706 (completing-read "Node name: " (Info-build-node-completions) 705 (completing-read "Node name: " (Info-build-node-completions)