]> git.cworth.org Git - nogit/commit
Fix emacs hook to not clobber match data master
authorCarl Worth <cworth@cworth.org>
Tue, 7 Jul 2020 18:16:14 +0000 (11:16 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 7 Jul 2020 18:16:14 +0000 (11:16 -0700)
commit96391d13f96d3b7f9c4d31b6e6372a29f992886e
tree76fe9972389a7ab3ac56ac0730f3b23b9a5d997a
parente5aac692ffe7fa2cbd9e075d60bba9548f36b656
Fix emacs hook to not clobber match data

Without this, trying to do a search-and-replace operation with emacs
on a file withing a directory that had some nogit-managed files would
error out after the first replacement with an error:

Match data clobbered by buffer modification hook
README