On 2007-12-30 17:09 +0100, Sven Joachim wrote:

> 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.
>
>
> --- 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)

Any chance to apply this patch?

Sven



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

Reply via email to