diff options
| author | Jay Belanger | 2011-03-16 21:25:36 -0500 |
|---|---|---|
| committer | Jay Belanger | 2011-03-16 21:25:36 -0500 |
| commit | 580b66d801d9f9d8a7484c00e047b04c20ebe0d6 (patch) | |
| tree | 38dd62b55853d16290f5376c4741a5d841fcd205 /lisp | |
| parent | d71990a1e4ff251bffa6453772c1e93f84059f5d (diff) | |
| download | emacs-580b66d801d9f9d8a7484c00e047b04c20ebe0d6.tar.gz emacs-580b66d801d9f9d8a7484c00e047b04c20ebe0d6.zip | |
* lisp/calc-units.el (calcFunc-lupquant): Rename from
`calcFunc-pquant' (fixing previous commit).
(calcFunc-lufquant): Rename from `calcFunc-fquant'
(fixing previous commit).
* lisp/calc/calc-ext.el (calc-init-extensions): Update the names of the
functions being autoloaded.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/calc/calc-ext.el | 2 | ||||
| -rw-r--r-- | lisp/calc/calc-units.el | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 57e7eabd1f9..9ea773fbb98 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -945,7 +945,7 @@ calcFunc-pclean calcFunc-pfloat calcFunc-pfrac) | |||
| 945 | 945 | ||
| 946 | ("calc-units" calcFunc-usimplify calcFunc-lufadd calcFunc-lupadd | 946 | ("calc-units" calcFunc-usimplify calcFunc-lufadd calcFunc-lupadd |
| 947 | calcFunc-lufsub calcFunc-lupsub calcFunc-lufmul calcFunc-lupmul | 947 | calcFunc-lufsub calcFunc-lupsub calcFunc-lufmul calcFunc-lupmul |
| 948 | calcFunc-lufdiv calcFunc-lupdiv calcFunc-fquant calcFunc-pquant | 948 | calcFunc-lufdiv calcFunc-lupdiv calcFunc-lufquant calcFunc-lupquant |
| 949 | calcFunc-dbfield calcFunc-dbpower calcFunc-npfield | 949 | calcFunc-dbfield calcFunc-dbpower calcFunc-npfield |
| 950 | calcFunc-nppower calcFunc-spn calcFunc-midi calcFunc-freq | 950 | calcFunc-nppower calcFunc-spn calcFunc-midi calcFunc-freq |
| 951 | math-build-units-table math-build-units-table-buffer | 951 | math-build-units-table math-build-units-table-buffer |
diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index a74cfb60c8d..43cb5828e85 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el | |||
| @@ -1780,12 +1780,12 @@ In symbolic mode, return the list (^ a b)." | |||
| 1780 | (defvar calc-lu-field-reference) | 1780 | (defvar calc-lu-field-reference) |
| 1781 | (defvar calc-lu-power-reference) | 1781 | (defvar calc-lu-power-reference) |
| 1782 | 1782 | ||
| 1783 | (defun calcFunc-fquant (val &optional ref) | 1783 | (defun calcFunc-lufquant (val &optional ref) |
| 1784 | (unless ref | 1784 | (unless ref |
| 1785 | (setq ref (math-read-expr calc-lu-field-reference))) | 1785 | (setq ref (math-read-expr calc-lu-field-reference))) |
| 1786 | (math-logunits-quant val ref nil)) | 1786 | (math-logunits-quant val ref nil)) |
| 1787 | 1787 | ||
| 1788 | (defun calcFunc-pquant (val &optional ref) | 1788 | (defun calcFunc-lupquant (val &optional ref) |
| 1789 | (unless ref | 1789 | (unless ref |
| 1790 | (setq ref (math-read-expr calc-lu-power-reference))) | 1790 | (setq ref (math-read-expr calc-lu-power-reference))) |
| 1791 | (math-logunits-quant val ref t)) | 1791 | (math-logunits-quant val ref t)) |
| @@ -1795,11 +1795,11 @@ In symbolic mode, return the list (^ a b)." | |||
| 1795 | (calc-slow-wrapper | 1795 | (calc-slow-wrapper |
| 1796 | (if (calc-is-hyperbolic) | 1796 | (if (calc-is-hyperbolic) |
| 1797 | (if (calc-is-option) | 1797 | (if (calc-is-option) |
| 1798 | (calc-binary-op "lupq" 'calcFunc-fquant arg) | 1798 | (calc-binary-op "lupq" 'calcFunc-lufquant arg) |
| 1799 | (calc-unary-op "lupq" 'calcFunc-fquant arg)) | 1799 | (calc-unary-op "lupq" 'calcFunc-lufquant arg)) |
| 1800 | (if (calc-is-option) | 1800 | (if (calc-is-option) |
| 1801 | (calc-binary-op "lufq" 'calcFunc-pquant arg) | 1801 | (calc-binary-op "lufq" 'calcFunc-lupquant arg) |
| 1802 | (calc-unary-op "lufq" 'calcFunc-pquant arg))))) | 1802 | (calc-unary-op "lufq" 'calcFunc-lupquant arg))))) |
| 1803 | 1803 | ||
| 1804 | (defun math-logunits-level (val ref db power) | 1804 | (defun math-logunits-level (val ref db power) |
| 1805 | "Compute the value of VAL in decibels or nepers." | 1805 | "Compute the value of VAL in decibels or nepers." |