aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2006-05-09 23:10:24 +0000
committerJuri Linkov2006-05-09 23:10:24 +0000
commitab3050bc5d919063e1146f87ccb09fc341ee2dbc (patch)
tree19c4d8813150c846b87bc109a4bc67b8cb0bfed9
parent757210d152e88303dbf5786efe81add0c2691b81 (diff)
downloademacs-ab3050bc5d919063e1146f87ccb09fc341ee2dbc.tar.gz
emacs-ab3050bc5d919063e1146f87ccb09fc341ee2dbc.zip
(archive-set-buffer-as-visiting-file): Bind buffer-undo-list
to t (undo-ask is reproducible by visiting nested archives).
-rw-r--r--lisp/arc-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index ac8ee271642..96b41eca88d 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -863,7 +863,8 @@ using `make-temp-file', and the generated name is returned."
863 "Set the current buffer as if it were visiting FILENAME." 863 "Set the current buffer as if it were visiting FILENAME."
864 (save-excursion 864 (save-excursion
865 (goto-char (point-min)) 865 (goto-char (point-min))
866 (let ((coding 866 (let ((buffer-undo-list t)
867 (coding
867 (or coding-system-for-read 868 (or coding-system-for-read
868 (and set-auto-coding-function 869 (and set-auto-coding-function
869 (save-excursion 870 (save-excursion