summaryrefslogtreecommitdiff
path: root/lisp/calendar/calendar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-08-12 11:22:31 +0100
committerGlenn Morris <rgm@gnu.org>2020-08-12 11:30:16 +0100
commitdca8b4ac5853767a1deb1947e72d038b4f4bb068 (patch)
tree21dea67869e8e37f02af9a235770bfcd819db4ae /lisp/calendar/calendar.el
parentd089c4fbfc8be432dc3015a99b4044dab0a0de97 (diff)
downloademacs-dca8b4ac5853767a1deb1947e72d038b4f4bb068.tar.gz
Rename recent calendar user option
* lisp/calendar/calendar.el (calendar-time-zone-style): Rename from calendar-use-numeric-time-zones. * lisp/calendar/cal-dst.el (calendar-standard-time-zone-name) (calendar-daylight-time-zone-name): * lisp/calendar/solar.el (sunrise-sunset, solar-equinoxes-solstices): Use new variable name. * doc/emacs/calendar.texi (Sunrise/Sunset): Update. ; * etc/NEWS: Update.
Diffstat (limited to 'lisp/calendar/calendar.el')
-rw-r--r--lisp/calendar/calendar.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 0efb2bc6607..574261456fc 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -1061,10 +1061,12 @@ calendar."
:type 'boolean
:group 'holidays)
-(defcustom calendar-use-numeric-time-zones nil
- "If nil, use symbolic time zones like \"CET\" when displaying dates.
-If non-nil, use numeric time zones like \"+0100\"."
- :type 'boolean
+;; fixme should have a :set that changes calendar-standard-time-zone-name etc.
+(defcustom calendar-time-zone-style 'symbolic
+ "Your preferred style for time zones.
+If 'numeric, use numeric time zones like \"+0100\".
+Otherwise, use symbolic time zones like \"CET\"."
+ :type '(choice (const numeric) (other symbolic))
:version "28.1"
:group 'calendar)