# HG changeset patch # User Colin Walters # Date 1006409004 0 # Node ID 5042a5269efd0869bfd6727b22d31ac4d8a67e9a # Parent f1d3cfc0cdebf70f0b9b56cdd699a3ba0f527280 (calc-info): Don't perform voodoo, just (info "Calc"). diff -r f1d3cfc0cdeb -r 5042a5269efd lisp/calc/calc-misc.el --- a/lisp/calc/calc-misc.el Thu Nov 22 00:08:32 2001 +0000 +++ b/lisp/calc/calc-misc.el Thu Nov 22 06:03:24 2001 +0000 @@ -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."