From 52bfd419bf9022726048f818d955b8ea10a16d5c Mon Sep 17 00:00:00 2001 From: Patrick Mosby Date: Mon, 7 Sep 2015 09:05:56 +0200 Subject: [PATCH] Don't save undo file for ignored files. This fixes #4. --- undohist.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/undohist.el b/undohist.el index b184a26..de60356 100644 --- a/undohist.el +++ b/undohist.el @@ -164,7 +164,8 @@ To use undohist, you just call this function." undohist-ignored-files))) (defun undohist-save-1 () - (when (consp buffer-undo-list) + (when (and (consp buffer-undo-list) + (undohist-recover-file-p (buffer-file-name (current-buffer)))) (let ((file (make-undohist-file-name (buffer-file-name))) (contents `((digest . ,(md5 (current-buffer))) (undo-list . ,(undohist-encode buffer-undo-list))))) -- 2.21.0 td> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/logging.scm
AgeCommit message (Expand)Author
2024-09-07gnu: Add plog....* gnu/packages/logging.scm (plog): New variable. Change-Id: Ibb90ffc6342d099d3ca5e8e1694b0128d78f5d4c Signed-off-by: Andrew Tropin <andrew@trop.in> 宋文武
2024-03-19gnu: spdlog: Fix cross-compilation....* gnu/packages/logging.scm (spdlog)[arguments]<#:configure-flags>: when cross-compilation, don't add -DSPDLOG_BUILD_TESTS=ON. Change-Id: I90911c548c3f138ff40bff4b086f6102b717acf2 Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie
2024-03-19gnu: spdlog: Use Gexps....* gnu/packages/logging.scm (spdlog)[arguments]: Use Gexps. Change-Id: I53485d8adb450f7d0bfc2a2ed8ddee51142fd9a8 Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zheng Junjie
2024-02-05gnu: spdlog: Update to 1.13.0....* gnu/packages/logging.scm (spdlog): Update to 1.13.0. [source]: Remove upstreamed patch. * gnu/local.mk: Unregister it. * gnu/packages/patches/spdlog-fix-tests.patch: Delete file. Change-Id: I78b5021b9841d16f43a283eaee931b4f92746ab8 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan
2024-01-09gnu: catch2-3: Update to 3.5.1....* gnu/packages/check.scm (catch2-3.3): Rename to... (catch2-3): ... this. Update to 3.5.1. * gnu/packages/logging.scm (spdlog) [native-inputs]: Rename catch2-3.3 to catch2-3. * gnu/packages/potassco.scm (clingo) [inputs]: Likewise. Change-Id: Ied7724597ff4c6371dc4fedc10452ae870d23933 Maxim Cournoyer