mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.
(float-e): New name for `e'. (degrees-to-radians, radians-to-degrees): * lisp/calendar/solar.el (solar-longitude): * lisp/calculator.el (calculator-registers, calculator-funcall): * lisp/textmodes/artist.el (artist-spray-random-points): * lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
This commit is contained in:
parent
a2930e438b
commit
9e0d4f9ef1
7 changed files with 31 additions and 18 deletions
|
|
@ -369,7 +369,8 @@ documentation for an example.")
|
|||
Used for repeating operations in calculator-repR/L.")
|
||||
|
||||
(defvar calculator-registers ; use user-bindings first
|
||||
(append calculator-user-registers (list (cons ?e e) (cons ?p pi)))
|
||||
(append calculator-user-registers
|
||||
(list (cons ?e float-e) (cons ?p float-pi)))
|
||||
"The association list of calculator register values.")
|
||||
|
||||
(defvar calculator-saved-global-map nil
|
||||
|
|
@ -1300,7 +1301,7 @@ arguments."
|
|||
(calculator-funcall __f__ x y))))
|
||||
(fset 'D (function
|
||||
(lambda (x)
|
||||
(if calculator-deg (/ (* x 180) pi) x))))
|
||||
(if calculator-deg (/ (* x 180) float-pi) x))))
|
||||
(unwind-protect (eval f)
|
||||
(if Fbound (fset 'F Fsave) (fmakunbound 'F))
|
||||
(if Dbound (fset 'D Dsave) (fmakunbound 'D)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue