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
(progn
(cond
((not (get-buffer-window calculator-buffer))
- (let ((split-window-keep-point nil)
- (window-min-height 2))
+ (let ((window-min-height 2))
;; maybe leave two lines for our window because of the normal
;; `raised' modeline in Emacs 21
(select-window
(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)))))