diff options
author | Glenn Morris <rgm@gnu.org> | 2009-01-09 03:57:12 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-01-09 03:57:12 +0000 |
commit | e93c003eb15f85f744a39c28a8fb43b8c6da9904 (patch) | |
tree | 3a9d6acabbc4bd35bdb1b1680eb16e12b4761651 /lisp/calc/calc-stuff.el | |
parent | 4b09796d423bb241d597f147ce0d53567ce10b3f (diff) | |
download | emacs-e93c003eb15f85f744a39c28a8fb43b8c6da9904.tar.gz emacs-e93c003eb15f85f744a39c28a8fb43b8c6da9904.tar.bz2 emacs-e93c003eb15f85f744a39c28a8fb43b8c6da9904.zip |
Replace last-command-char with last-command-event.
Diffstat (limited to 'lisp/calc/calc-stuff.el')
-rw-r--r-- | lisp/calc/calc-stuff.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/calc/calc-stuff.el b/lisp/calc/calc-stuff.el index fc2ba7884a5..e6f68fd7be2 100644 --- a/lisp/calc/calc-stuff.el +++ b/lisp/calc/calc-stuff.el @@ -210,9 +210,9 @@ With a prefix, push that prefix as a number onto the stack." (interactive "P") (calc-clean (- (if num (prefix-numeric-value num) - (if (and (>= last-command-char ?0) - (<= last-command-char ?9)) - (- last-command-char ?0) + (if (and (>= last-command-event ?0) + (<= last-command-event ?9)) + (- last-command-event ?0) (error "Number required")))))) |