diff lisp/arc-mode.el @ 70544:2400f78c17e8

(archive-set-buffer-as-visiting-file): Bind buffer-undo-list to t (undo-ask is reproducible by visiting nested archives).
author Juri Linkov <juri@jurta.org>
date Tue, 09 May 2006 23:10:24 +0000
parents 000b130bfb7d
children ff708eaf43ab 146cd8369025
line wrap: on
line diff
--- a/lisp/arc-mode.el	Tue May 09 23:08:49 2006 +0000
+++ b/lisp/arc-mode.el	Tue May 09 23:10:24 2006 +0000
@@ -863,7 +863,8 @@
   "Set the current buffer as if it were visiting FILENAME."
   (save-excursion
     (goto-char (point-min))
-    (let ((coding
+    (let ((buffer-undo-list t)
+	  (coding
 	   (or coding-system-for-read
 	       (and set-auto-coding-function
 		    (save-excursion