]> git.eshelyaron.com Git - emacs.git/commit
time-stamp: refactor for readability
authorStephen Gildea <stepheng+emacs@gildea.com>
Wed, 12 Mar 2025 13:48:55 +0000 (06:48 -0700)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 19:05:12 +0000 (20:05 +0100)
commitce8437e4e525e0372aaf7b3101814a2c54c78cdc
tree5ad244b5f1d3cc4b7ade0bef408dbb1d2aff1c63
parent417300e4dd88bd730896f3b01e8ce6c2768a63cd
time-stamp: refactor for readability

* lisp/time-stamp.el (time-stamp-string-preprocess): Move all of the
big 'while' loop to the end of the function, to better expose its
structure of iterating over the format string.

(cherry picked from commit 1bfbaacc056c23fa7c5c8741b6cdd43201e0a65f)
lisp/time-stamp.el