summaryrefslogtreecommitdiff
path: root/lisp/calendar/solar.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-01-25 00:57:33 +0000
committerKarl Heuer <kwzh@gnu.org>1996-01-25 00:57:33 +0000
commit498020d2b5cf0bfd2ae18f174bb5b96aad950325 (patch)
treed3840182b978a3fd5dbcc554a2c72909844ba504 /lisp/calendar/solar.el
parent23161c61c453be29c00958433cbcefeefbf8e40e (diff)
downloademacs-498020d2b5cf0bfd2ae18f174bb5b96aad950325.tar.gz
(sunrise-sunset): Pass proper format string to message.
Diffstat (limited to 'lisp/calendar/solar.el')
-rw-r--r--lisp/calendar/solar.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el
index 1726ea1b8d8..7286c241e4c 100644
--- a/lisp/calendar/solar.el
+++ b/lisp/calendar/solar.el
@@ -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."