diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2021-02-11 19:12:36 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2021-02-11 19:12:36 +0100 |
commit | abd318ff4b741eac11227778bf2e569ee7b186ff (patch) | |
tree | 6abc09a3e01914d891124e9d0dda0f4e0979c485 /gnu/packages/patches/emacs-undohist-ignored.patch | |
parent | 71cb6dfe10540718eb337e7e2248fc809394894b (diff) | |
parent | c5dc87fee840ad620b01637dc4f9ffa5efc9270c (diff) | |
download | guix-abd318ff4b741eac11227778bf2e569ee7b186ff.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/patches/emacs-undohist-ignored.patch')
-rw-r--r-- | gnu/packages/patches/emacs-undohist-ignored.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gnu/packages/patches/emacs-undohist-ignored.patch b/gnu/packages/patches/emacs-undohist-ignored.patch deleted file mode 100644 index c1ad827a26..0000000000 --- a/gnu/packages/patches/emacs-undohist-ignored.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 52bfd419bf9022726048f818d955b8ea10a16d5c Mon Sep 17 00:00:00 2001 -From: Patrick Mosby <info@schreiblogade.de> -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 - |