summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-ext.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calc/calc-ext.el')
-rw-r--r--lisp/calc/calc-ext.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el
index 83722e761b0..933c446875e 100644
--- a/lisp/calc/calc-ext.el
+++ b/lisp/calc/calc-ext.el
@@ -1327,9 +1327,8 @@ calc-kill calc-kill-region calc-yank))))
(setq calc-prefix-help-retry (= chr ??))
(if bnd
(call-interactively bnd)
- (if key
- (message (concat (key-description (vector key chr)) " is undefined"))
- (message (concat (key-description (vector chr)) " is undefined")))))))
+ (message "%s is undefined"
+ (key-description (if key (vector key chr) (vector chr))))))))
;;;; Commands.