changeset 65592:1038e6fc7f28

message format spec fixes, commit # 11
author Deepak Goel <deego@gnufans.org>
date Sun, 18 Sep 2005 12:42:35 +0000
parents a65f8ec418fc
children 35bdd2abe2d3
files lisp/calc/calc-mode.el lisp/calc/calc-units.el
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-mode.el	Sun Sep 18 12:41:39 2005 +0000
+++ b/lisp/calc/calc-mode.el	Sun Sep 18 12:42:35 2005 +0000
@@ -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: ...]")
--- a/lisp/calc/calc-units.el	Sun Sep 18 12:41:39 2005 +0000
+++ b/lisp/calc/calc-units.el	Sun Sep 18 12:42:35 2005 +0000
@@ -515,7 +515,7 @@
   (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: ")