From e93c003eb15f85f744a39c28a8fb43b8c6da9904 Mon Sep 17 00:00:00 2001 From: Glenn Morris <rgm@gnu.org> Date: Fri, 9 Jan 2009 03:57:12 +0000 Subject: Replace last-command-char with last-command-event. --- lisp/calc/calc-stuff.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/calc/calc-stuff.el') 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")))))) -- cgit v1.2.3