]> git.eshelyaron.com Git - emacs.git/commit
Fix customization of zoneinfo-style-world-list
authorPaul Eggert <eggert@day>
Mon, 2 Oct 2017 16:04:46 +0000 (09:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Oct 2017 16:06:35 +0000 (09:06 -0700)
commit987f39a124af378966dc5832a48599b110bba436
treeb6df8857414afb69e864cc93f907359e9d2e811d
parent712cc158772697058c1436a6e5bacc00d262f49c
Fix customization of zoneinfo-style-world-list

A customizable variable's initial value cannot depend on that of
another customizable variable, since the variables are initialized
in other than textual order.  Problem reported by N. Jackson
(Bug#24291).
* lisp/time.el (display-time-world-list): Default to t,
a special value that expands to zoneinfo-style-word-list
if that works, and to legacy-style-word-list otherwise.
(time--display-world-list): New function.
(display-time-world, display-time-world-timer): Use it.
lisp/time.el