Mercurial > emacs
comparison lisp/calc/calc-macs.el @ 58612:d48ee50961f3
Move provide to end of file.
(calc-need-macros): Remove unnecessary function.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Mon, 29 Nov 2004 05:56:56 +0000 |
parents | 695cf19ef79e |
children | 842c8b2c2940 f2ebccfa87d4 |
comparison
equal
deleted
inserted
replaced
58611:79b3fe261527 | 58612:d48ee50961f3 |
---|---|
1 ;;; calc-macs.el --- important macros for Calc | 1 ;;; calc-macs.el --- important macros for Calc |
2 | 2 |
3 ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: David Gillespie <daveg@synaptics.com> | 5 ;; Author: David Gillespie <daveg@synaptics.com> |
6 ;; Maintainers: D. Goel <deego@gnufans.org> | 6 ;; Maintainer: Jay Belanger <belanger@truman.edu> |
7 ;; Colin Walters <walters@debian.org> | |
8 | 7 |
9 ;; This file is part of GNU Emacs. | 8 ;; This file is part of GNU Emacs. |
10 | 9 |
11 ;; GNU Emacs is distributed in the hope that it will be useful, | 10 ;; GNU Emacs is distributed in the hope that it will be useful, |
12 ;; but WITHOUT ANY WARRANTY. No author or distributor | 11 ;; but WITHOUT ANY WARRANTY. No author or distributor |
25 | 24 |
26 ;;; Commentary: | 25 ;;; Commentary: |
27 | 26 |
28 ;;; Code: | 27 ;;; Code: |
29 | 28 |
30 (provide 'calc-macs) | |
31 | |
32 (defun calc-need-macros () nil) | |
33 | |
34 (defmacro calc-wrapper (&rest body) | 29 (defmacro calc-wrapper (&rest body) |
35 `(calc-do (function (lambda () | 30 `(calc-do (function (lambda () |
36 ,@body)))) | 31 ,@body)))) |
37 | 32 |
38 (defmacro calc-slow-wrapper (&rest body) | 33 (defmacro calc-slow-wrapper (&rest body) |
199 (and (consp b) | 194 (and (consp b) |
200 (= (math-compare-bignum (cdr a) (cdr b)) -1)) | 195 (= (math-compare-bignum (cdr a) (cdr b)) -1)) |
201 (or (consp b) | 196 (or (consp b) |
202 (< a b)))) | 197 (< a b)))) |
203 | 198 |
199 (provide 'calc-macs) | |
200 | |
204 ;;; arch-tag: 08ba8ec2-fcff-4b80-a079-ec661bdb057e | 201 ;;; arch-tag: 08ba8ec2-fcff-4b80-a079-ec661bdb057e |
205 ;;; calc-macs.el ends here | 202 ;;; calc-macs.el ends here |