emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calc/calc-misc.el


From: Colin Walters
Subject: [Emacs-diffs] Changes to emacs/lisp/calc/calc-misc.el
Date: Thu, 22 Nov 2001 01:03:24 -0500

Index: emacs/lisp/calc/calc-misc.el
diff -u emacs/lisp/calc/calc-misc.el:1.4 emacs/lisp/calc/calc-misc.el:1.5
--- emacs/lisp/calc/calc-misc.el:1.4    Mon Nov 19 02:36:42 2001
+++ emacs/lisp/calc/calc-misc.el        Thu Nov 22 01:03:24 2001
@@ -223,25 +223,8 @@
 (defun calc-info ()
   "Run the Emacs Info system on the Calculator documentation."
   (interactive)
-  (require 'info)
   (select-window (get-largest-window))
-  (or (file-name-absolute-p calc-info-filename)
-       (let ((p load-path)
-            name)
-        (if (boundp 'Info-directory)
-            (setq p (cons Info-directory p)))
-        (while (and p (not (file-exists-p
-                            (setq name (expand-file-name calc-info-filename
-                                                         (car p))))))
-          (setq p (cdr p)))
-        (if p (setq calc-info-filename name))))
-  (condition-case err
-      (info)
-    (error nil))
-  (or (and (boundp 'Info-current-file)
-          (stringp Info-current-file)
-          (string-match "calc" Info-current-file))
-      (Info-find-node calc-info-filename "Top")))
+  (info "Calc"))
 
 (defun calc-tutorial ()
   "Run the Emacs Info system on the Calculator Tutorial."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]