# HG changeset patch # User Deepak Goel # Date 1127047355 0 # Node ID 1038e6fc7f28f486ddef26c8b032f68f91223bc5 # Parent a65f8ec418fc3d6dc6672a4220d142ce2b86fcca message format spec fixes, commit # 11 diff -r a65f8ec418fc -r 1038e6fc7f28 lisp/calc/calc-mode.el --- 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: ...]") diff -r a65f8ec418fc -r 1038e6fc7f28 lisp/calc/calc-units.el --- 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: ")