summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-ext.el2
-rw-r--r--lisp/calc/calc-mode.el2
-rw-r--r--lisp/calc/calc.el4
-rw-r--r--lisp/calc/calcalg2.el4
-rw-r--r--lisp/calc/calcalg3.el2
5 files changed, 7 insertions, 7 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el
index 140335a3d02..56b95ef218e 100644
--- a/lisp/calc/calc-ext.el
+++ b/lisp/calc/calc-ext.el
@@ -1434,7 +1434,7 @@ calc-kill calc-kill-region calc-yank))))
(calc-set-command-flag 'no-align)
(setq prefix (set flag (not (symbol-value flag)))
prefix-arg n)
- (message (if prefix msg "")))
+ (message "%s" (if prefix msg "")))
(and prefix
(not calc-is-keypad-press)
(if (boundp 'overriding-terminal-local-map)
diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el
index d7daf1bf997..85ae4d7b264 100644
--- a/lisp/calc/calc-mode.el
+++ b/lisp/calc/calc-mode.el
@@ -505,7 +505,7 @@
mode)
(and (not (eq calc-simplify-mode mode))
mode)))
- (message (if (eq calc-simplify-mode mode)
+ (message "%s" (if (eq calc-simplify-mode mode)
msg
"Default simplifications enabled")))
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el
index 69cacec2220..6e12fbe9f5f 100644
--- a/lisp/calc/calc.el
+++ b/lisp/calc/calc.el
@@ -1228,7 +1228,7 @@ If nil, selections displayed but ignored.")
(let ((prompt2 (format "%s " (key-description (this-command-keys))))
(glob (current-global-map))
(loc (current-local-map)))
- (or (input-pending-p) (message prompt))
+ (or (input-pending-p) (message "%s" prompt))
(let ((key (calc-read-key t)))
(calc-unread-command (cdr key))
(unwind-protect
@@ -1244,7 +1244,7 @@ If nil, selections displayed but ignored.")
(defun calc-version ()
"Return version of this version of Calc."
(interactive)
- (message (concat "Calc version " calc-version)))
+ (message "Calc version %s" calc-version))
(defun calc-mode ()
"Calculator major mode.
diff --git a/lisp/calc/calcalg2.el b/lisp/calc/calcalg2.el
index 4afed43d99c..1259642842a 100644
--- a/lisp/calc/calcalg2.el
+++ b/lisp/calc/calcalg2.el
@@ -746,7 +746,7 @@
(setq math-integ-msg (format
"Working... Integrating %s"
(math-format-flat-expr expr 0)))
- (message math-integ-msg)))
+ (message "%s" math-integ-msg)))
(if math-cur-record
(setcar (cdr math-cur-record)
(if same-as-above (vector simp) 'busy))
@@ -773,7 +773,7 @@
"simplification...\n")
(setq val (math-integral simp 'no t))))))))
(if (eq calc-display-working-message 'lots)
- (message math-integ-msg)))
+ (message "%s" math-integ-msg)))
(setcar (cdr math-cur-record) (or val
(if (or math-enable-subst
(not math-any-substs))
diff --git a/lisp/calc/calcalg3.el b/lisp/calc/calcalg3.el
index 374b0487cfe..77e8b1537f4 100644
--- a/lisp/calc/calcalg3.el
+++ b/lisp/calc/calcalg3.el
@@ -416,7 +416,7 @@
(calc-record (calc-normalize calc-fit-to-trail) "parm"))))
(when plot
(if (stringp plot)
- (message plot)
+ (message "%s" plot)
(let ((calc-graph-no-auto-view t))
(calc-graph-delete t)
(calc-graph-add-curve