tags 388637 + patch
thanks

Hello,

I looked into this bug and came up with the following minimal patch that
temporarily disables undo and thus fixes the annoying warning about
discarded undo information.  Tested with Emacs 21 and 22, but not with
XEmacs, as I don't have it.


--8<---------------cut here---------------start------------->8---
--- deb-view.el~        2006-02-03 03:37:11.000000000 +0100
+++ deb-view.el 2007-12-30 16:54:43.000000000 +0100
@@ -408,6 +408,7 @@
     (delete-other-windows)
     ;; data
     (set-buffer data-buffer)
+    (buffer-disable-undo)
     (cond
      (new-archive-format
       (call-process "ar" nil '(t t) nil "-p" debfile "data.tar.gz")
@@ -429,6 +430,7 @@
     (setq deb-view-dired-view-return-buffer return-buffer)
     (set-buffer-modified-p nil)
     (setq buffer-read-only t)
+    (buffer-enable-undo)
     (switch-to-buffer-other-window data-buffer)
     (if new-archive-format (other-window 1))
     (shrink-window-if-larger-than-buffer)
--8<---------------cut here---------------end--------------->8---


Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to