(calc-handle-undo): Remove prefix from variable in message.

This commit is contained in:
Jay Belanger 2005-02-15 19:26:49 +00:00
parent 6fc5a7dac1
commit 6735a29b34

View file

@ -77,7 +77,8 @@
(let ((v (intern (nth 1 action))))
(calc-record-undo (list 'store (nth 1 action)
(and (boundp v) (symbol-value v))))
(if (y-or-n-p (format "Un-store variable %s? " (nth 1 action)))
(if (y-or-n-p (format "Un-store variable %s? "
(calc-var-name (nth 1 action))))
(progn
(if (nth 2 action)
(set v (nth 2 action))