changeset 14331:b5434941b9b1

(sunrise-sunset): Pass proper format string to message.
author Karl Heuer <kwzh@gnu.org>
date Thu, 25 Jan 1996 00:57:33 +0000
parents 35a18ea09b7b
children 358d0db8457e
files lisp/calendar/solar.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/solar.el	Thu Jan 25 00:57:23 1996 +0000
+++ b/lisp/calendar/solar.el	Thu Jan 25 00:57:33 1996 +0000
@@ -845,10 +845,11 @@
         (msg (format "%s: %s" date-string time-string))
         (one-window (one-window-p t)))
    (if (<= (length msg) (frame-width))
-       (message msg)
+       (message "%s" msg)
      (with-output-to-temp-buffer "*temp*"
        (princ (concat date-string "\n" time-string)))
-     (message (substitute-command-keys
+     (message "%s"
+	      (substitute-command-keys
                (if one-window
                    (if pop-up-windows
                        "Type \\[delete-other-windows] to remove temp window."