]> git.eshelyaron.com Git - emacs.git/commitdiff
(sunrise-sunset): Pass proper format string to message.
authorKarl Heuer <kwzh@gnu.org>
Thu, 25 Jan 1996 00:57:33 +0000 (00:57 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 25 Jan 1996 00:57:33 +0000 (00:57 +0000)
lisp/calendar/solar.el

index 1726ea1b8d8bda4578a74d3b935da7a3fba4cfdc..7286c241e4c997f50e96457de9e9a6a30592c22b 100644 (file)
@@ -845,10 +845,11 @@ This function is suitable for execution in a .emacs file."
         (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."