summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorDeepak Goel <deego@gnufans.org>2005-09-18 12:42:35 +0000
committerDeepak Goel <deego@gnufans.org>2005-09-18 12:42:35 +0000
commit5c08522d858595fa88418e04bf5ace92253f4a7b (patch)
treee3d17f50d7381dfe5b2fa0c992ad12c7a1f49215 /lisp/calc
parent80070cca29719721131a14f1760619d5228ca677 (diff)
downloademacs-5c08522d858595fa88418e04bf5ace92253f4a7b.tar.gz
message format spec fixes, commit # 11
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-mode.el3
-rw-r--r--lisp/calc/calc-units.el2
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el
index 5e627203049..41b346ebd5a 100644
--- a/lisp/calc/calc-mode.el
+++ b/lisp/calc/calc-mode.el
@@ -408,7 +408,8 @@
((= n 4) 'global)
((= n 5) 'save)
(t 'local)))
- (message (cond ((and (eq calc-mode-save-mode 'local) calc-embedded-info)
+ (message "%s"
+ (cond ((and (eq calc-mode-save-mode 'local) calc-embedded-info)
"Recording mode changes with [calc-mode: ...]")
((eq calc-mode-save-mode 'edit)
"Recording mode changes with [calc-edit-mode: ...]")
diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el
index 7d42fd9ca9a..8fcbe7c0943 100644
--- a/lisp/calc/calc-units.el
+++ b/lisp/calc/calc-units.el
@@ -515,7 +515,7 @@ Entries are (SYMBOL EXPR DOC-STRING TEMP-TYPE BASE-UNITS).")
(interactive "P")
(and n (setq math-units-table-buffer-valid nil))
(math-build-units-table-buffer t)
- (message (substitute-command-keys "Type \\[calc] to return to the Calculator")))
+ (message "%s" (substitute-command-keys "Type \\[calc] to return to the Calculator")))
(defun calc-define-unit (uname desc)
(interactive "SDefine unit name: \nsDescription: ")