[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65864: [PATCH] Add option to save a buffer without running save hook
From: |
Stefan Kangas |
Subject: |
bug#65864: [PATCH] Add option to save a buffer without running save hooks |
Date: |
Wed, 13 Sep 2023 10:17:02 -0700 |
Juri Linkov <juri@linkov.net> writes:
> I confirm that 'C-u - C-x C-s' will save me from trouble that I have with
>
> (add-hook 'before-save-hook 'time-stamp nil t)
>
> because often I don't need to update the timestamp for a small fix.
> It takes too much time to revisit the file with M-x find-file-literally,
> then manually restore the previous timestamp (to not commit unnecessary
> change),
> and save the file again. Your patch will help substantially, thanks for this.
Same here, FWIW.