From 562a94a04117df9cdce3c283276f2becee3ef260 Mon Sep 17 00:00:00 2001 From: "Edward M. Reingold" Date: Mon, 19 Jun 1995 15:36:11 +0000 Subject: [PATCH] Fix bug in determination of output string. --- lisp/calendar/solar.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el index a35dfe53f13..95f84f401af 100644 --- a/lisp/calendar/solar.el +++ b/lisp/calendar/solar.el @@ -134,7 +134,7 @@ This variable should be set in site-local.el.") (/ (aref calendar-longitude 1) 60.0))) (if (numberp calendar-longitude) (if (> calendar-longitude 0) "E" "W") - (if (equal (aref calendar-latitude 2) 'east) "E" "W")))) + (if (equal (aref calendar-longitude 2) 'east) "E" "W")))) "*Expression evaluating to name of `calendar-longitude', calendar-latitude'. For example, \"New York City\". Default value is just the latitude, longitude pair. @@ -491,7 +491,7 @@ This function is suitable for execution in a .emacs file." (/ (aref calendar-longitude 1) 60.0))) (if (numberp calendar-longitude) (if (> calendar-longitude 0) "E" "W") - (if (equal (aref calendar-latitude 2) 'east) + (if (equal (aref calendar-longitude 2) 'east) "E" "W")))))) (calendar-standard-time-zone-name (if (< arg 16) calendar-standard-time-zone-name -- 2.39.2