1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

Replace last-command-char with last-command-event.

This commit is contained in:
Glenn Morris 2009-01-09 03:57:12 +00:00
parent 4b09796d42
commit e93c003eb1
13 changed files with 67 additions and 61 deletions

View file

@ -349,7 +349,7 @@ Entries are (SYMBOL EXPR DOC-STRING TEMP-TYPE BASE-UNITS).")
(defun calc-quick-units ()
(interactive)
(calc-slow-wrapper
(let* ((num (- last-command-char ?0))
(let* ((num (- last-command-event ?0))
(pos (if (= num 0) 10 num))
(units (calc-var-value 'var-Units))
(expr (calc-top-n 1)))