emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/undo-fu-session ee3879e469 48/53: Fix #3 by ensuring the u


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session ee3879e469 48/53: Fix #3 by ensuring the undo data uses compatible encoding
Date: Thu, 7 Jul 2022 12:05:30 -0400 (EDT)

branch: elpa/undo-fu-session
commit ee3879e469c792ae09933a2ca160b7979796b9e1
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Fix #3 by ensuring the undo data uses compatible encoding
---
 undo-fu-session.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/undo-fu-session.el b/undo-fu-session.el
index 76806fff9f..ae8a229d94 100755
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -491,6 +491,9 @@ Argument PENDING-LIST an `pending-undo-list' compatible 
list."
       (content-header nil)
       (content-data nil)
 
+      ;; Ensure we can include undo information for the buffer being operated 
on, see #3.
+      (coding-system-for-write buffer-file-coding-system)
+
       ;; Quiet compression messages for `with-auto-compression-mode'.
       (jka-compr-verbose nil))
 
@@ -572,6 +575,9 @@ Argument PENDING-LIST an `pending-undo-list' compatible 
list."
       (content-header nil)
       (content-data nil)
 
+      ;; Ensure we can include undo information for the buffer being operated 
on, see #3.
+      (coding-system-for-read buffer-file-coding-system)
+
       ;; Quiet compression messages for `with-auto-compression-mode'.
       (jka-compr-verbose nil))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]