diff options
| author | Karl Heuer | 1996-01-25 00:57:33 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-25 00:57:33 +0000 |
| commit | 498020d2b5cf0bfd2ae18f174bb5b96aad950325 (patch) | |
| tree | d3840182b978a3fd5dbcc554a2c72909844ba504 | |
| parent | 23161c61c453be29c00958433cbcefeefbf8e40e (diff) | |
| download | emacs-498020d2b5cf0bfd2ae18f174bb5b96aad950325.tar.gz emacs-498020d2b5cf0bfd2ae18f174bb5b96aad950325.zip | |
(sunrise-sunset): Pass proper format string to message.
| -rw-r--r-- | lisp/calendar/solar.el | 5 |
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." | |||
| 845 | (msg (format "%s: %s" date-string time-string)) | 845 | (msg (format "%s: %s" date-string time-string)) |
| 846 | (one-window (one-window-p t))) | 846 | (one-window (one-window-p t))) |
| 847 | (if (<= (length msg) (frame-width)) | 847 | (if (<= (length msg) (frame-width)) |
| 848 | (message msg) | 848 | (message "%s" msg) |
| 849 | (with-output-to-temp-buffer "*temp*" | 849 | (with-output-to-temp-buffer "*temp*" |
| 850 | (princ (concat date-string "\n" time-string))) | 850 | (princ (concat date-string "\n" time-string))) |
| 851 | (message (substitute-command-keys | 851 | (message "%s" |
| 852 | (substitute-command-keys | ||
| 852 | (if one-window | 853 | (if one-window |
| 853 | (if pop-up-windows | 854 | (if pop-up-windows |
| 854 | "Type \\[delete-other-windows] to remove temp window." | 855 | "Type \\[delete-other-windows] to remove temp window." |