]> git.eshelyaron.com Git - emacs.git/commit
time-stamp-time-zone: update customization
authorStephen Gildea <stepheng+emacs@gildea.com>
Sun, 27 Oct 2019 15:20:13 +0000 (08:20 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Sun, 27 Oct 2019 15:21:16 +0000 (08:21 -0700)
commit113ff954dbcd24325bd674b7294d54a7c8394d42
tree2c62f2a9c64999fcd97d022db0fdf8e10c305fb9
parentfc0f98a8a87ca48b4c3fb0e66d1bd1e2dcc9aa19
time-stamp-time-zone: update customization

* time-stamp.el (time-stamp-time-zone): Support customization with
an integer offset (a new possible value of the ZONE argument to
format-time-string in Emacs 27).
Update the safe-local-variable predicate from string-or-null-p
(describing time-stamp-time-zone's domain before 2015) to new
predicate time-stamp-zone-type-p (describing the current domain).

* time-stamp-tests.el (time-stamp-test-helper-zone-type-p): New test.
lisp/time-stamp.el
test/lisp/time-stamp-tests.el