1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(solar-setup): Revert previous change.

This commit is contained in:
Glenn Morris 2005-05-07 22:43:46 +00:00
parent 1d64910fe9
commit d908da3364
2 changed files with 0 additions and 8 deletions

View File

@ -100,9 +100,6 @@
2005-05-06 Glenn Morris <gmorris@ast.cam.ac.uk>
* calendar/solar.el (solar-setup): Throw error if called
non-interactively.
* calendar/appt.el (top-level): No longer activate on load.
2005-05-06 Juanma Barranquero <lekktu@gmail.com>

View File

@ -208,11 +208,6 @@ Needed for polar areas, in order to know whether the day lasts 0 or 24 hours.")
(defun solar-setup ()
"Prompt user for latitude, longitude, and time zone."
(unless (or (and calendar-longitude calendar-latitude calendar-time-zone)
(interactive-p))
;; Defaults must be nil, else results could be subtlely wrong for
;; user's real location.
(error "Calendar latitude, longitude and/or time-zone unset"))
(beep)
(if (not calendar-longitude)
(setq calendar-longitude