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:
parent
4b09796d42
commit
e93c003eb1
13 changed files with 67 additions and 61 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue