]> git.eshelyaron.com Git - emacs.git/commit
time-stamp: Better handling of some edge cases
authorStephen Gildea <stepheng+emacs@gildea.com>
Fri, 7 Feb 2025 17:17:26 +0000 (09:17 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Feb 2025 08:44:06 +0000 (09:44 +0100)
commit09688d8b12019b820a03634b39eb2c44ba41550c
treedac4256866c192294088374b92350e285b312417
parenta6299b911679372db28e24d33a8a0f055ea0cd71
time-stamp: Better handling of some edge cases

* lisp/time-stamp.el (time-stamp-count): Require confirmation if large.
(time-stamp-once): Correctly handle a start regexp matching 0 chars.
* test/lisp/time-stamp-tests.el (time-stamp-custom-start): New test.

(cherry picked from commit 280b25e0096bb97fb473a8da9b4635fb2d6e5385)
lisp/time-stamp.el
test/lisp/time-stamp-tests.el