Commits

Anonymous committed 8f86392

Port to XEmacs 21.2

  • Participants
  • Parent commits 16ae7dc

Comments (0)

Files changed (5)

+1998-07-25  SL Baur  <steve@altair.xemacs.org>
+
+	* calc-misc.el (calc-info): Don't bother to do an Info directory
+	path search on XEmacs.  XEmacs Does The Right Thing by default.
+	(calc-tutorial): Autoload.
+
+	* calc-maint.el (calc-do-compile): It's XEmacs not Lucid.
+
+1998-07-23  SL Baur  <steve@altair.xemacs.org>
+
+	* Makefile (calc.info): Run with $(XEMACS).
+
+	* calc.el (calc-init-base): It's XEmacs, not Lucid.
+
 1998-07-18  SL Baur  <steve@altair.xemacs.org>
 
 	* calc-yank.el (calc-edit): screen-width -> frame-width.
 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-VERSION = 1.06
-AUTHOR_VERSION = 2.02fX2
+VERSION = 1.07
+AUTHOR_VERSION = 2.02fX3
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = calc
 PKG_TYPE = regular
 all:: $(ELCS) auto-autoloads.elc $(PACKAGE).info
 
 calc.info: calc.texinfo
-	xemacs -vanilla -batch -insert calc.texinfo -l texinfmt -f texinfo-format-buffer -f save-buffer
+	$(XEMACS) -vanilla -batch -insert calc.texinfo -l texinfmt -f texinfo-format-buffer -f save-buffer
 
 srckit: srckit-std
 
 
 	      ;; Pre-build the units table.
 	      (if (and changed-units
-		       (not (string-match "Lucid" emacs-version)))
+		       (not (string-match "XEmacs" emacs-version)))
 		  (progn
 		    (or message-bug (message ""))
 		    (save-excursion
   (interactive)
   (require 'info)
   (select-window (get-largest-window))
-  (or (file-name-absolute-p calc-info-filename)
+  (or calc-emacs-type-lucid
+      (file-name-absolute-p calc-info-filename)
        (let ((p load-path)
 	     name)
 	 (if (boundp 'Info-directory)
       (Info-find-node calc-info-filename "Top"))
 )
 
+;;;###autoload
 (defun calc-tutorial ()
   "Run the Emacs Info system on the Calculator Tutorial."
   (interactive)
   (setq calc-emacs-type-epoch (and (fboundp 'epoch::version) epoch::version)
 	calc-emacs-type-19 (not (or calc-emacs-type-epoch
 				    (string-lessp emacs-version "19")))
-	calc-emacs-type-lucid (not (not (string-match "Lucid" emacs-version)))
+	calc-emacs-type-lucid (not (not (string-match "XEmacs" emacs-version)))
 	calc-emacs-type-gnu19 (and calc-emacs-type-19
 				   (not calc-emacs-type-lucid)))