From: Deepak Goel Date: Sun, 18 Sep 2005 12:41:39 +0000 (+0000) Subject: message format spec fixes, commit # 10 X-Git-Tag: emacs-pretest-22.0.90~7036 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80070cca29719721131a14f1760619d5228ca677;p=emacs.git message format spec fixes, commit # 10 --- diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index 7e9e44210ef..0e0400bd686 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el @@ -1532,7 +1532,7 @@ written into the buffer `*icalendar-errors*'." (setq found-error t) (setq error-string (format "%s\n%s\nCannot handle this event: %s" error-val error-string e)) - (message error-string)))) + (message "%s" error-string)))) (if found-error (save-current-buffer (set-buffer (get-buffer-create "*icalendar-errors*")) diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el index 19191fd84b9..afa7b0e87d9 100644 --- a/lisp/calendar/timeclock.el +++ b/lisp/calendar/timeclock.el @@ -441,7 +441,7 @@ worked today, ignoring the time worked on previous days." "remaining" "over") (timeclock-when-to-leave-string show-seconds today-only))) (if (interactive-p) - (message status) + (message "%s" status) status))) ;;;###autoload @@ -512,7 +512,7 @@ See `timeclock-relative' for more information about the meaning of (timeclock-workday-remaining today-only) show-seconds t))) (if (interactive-p) - (message string) + (message "%s" string) string))) (defsubst timeclock-workday-elapsed () @@ -534,7 +534,7 @@ non-nil, the amount returned will be relative to past time worked." (let ((string (timeclock-seconds-to-string (timeclock-workday-elapsed) show-seconds))) (if (interactive-p) - (message string) + (message "%s" string) string))) (defsubst timeclock-time-to-seconds (time) @@ -579,7 +579,7 @@ relative only to the time worked today, and not to past time." (format-time-string "%-I:%M:%S %p" then) (format-time-string "%-I:%M %p" then)))) (if (interactive-p) - (message string) + (message "%s" string) string))) ;;; Internal Functions: