+2014-06-24 Eli Barzilay <eli@barzilay.org>
+
+ * NEWS: calculator.el user-visible changes.
+
2014-06-15 Michael Albinus <michael.albinus@gmx.de>
* NEWS: New Tramp method "nc".
*** New connection method "nc", which allows to access dumb busyboxes.
+** Calculator: decimal display mode uses "," groups, so it's more
+fitting for use in money calculations; factorial works with
+non-integer inputs.
+
** Obsolete packages
---
+2014-06-24 Eli Barzilay <eli@barzilay.org>
+
+ * calculator.el (calculator-last-input): drop 'ascii-character property
+ lookup.
+
2014-06-24 Leo Liu <sdl.web@gmail.com>
* align.el (align-adjust-col-for-rule): Unbreak due to defaulting
inp
;; Translates kp-x to x and [tries to] create a string to lookup
;; operators; assume all symbols are translatable via
- ;; `function-key-map' or with an 'ascii-character property. This
- ;; is needed because we have key bindings for kp-* (which might be
- ;; the wrong thing to do) so they don't get translated in
- ;; `this-command-keys'.
+ ;; `function-key-map'. This is needed because we have key
+ ;; bindings for kp-* (which might be the wrong thing to do) so
+ ;; they don't get translated in `this-command-keys'.
(concat (mapcar (lambda (k)
- (if (numberp k) k (or (get k 'ascii-character)
- (error "??bad key??"))))
+ (if (numberp k) k (error "??bad key?? (%S)" k)))
(or (lookup-key function-key-map inp) inp))))))
(defun calculator-clear-fragile (&optional op)