bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#501: Acknowledgement (23.0.60; Viewing SVG files: Error when pressi


From: Markus Triska
Subject: bug#501: Acknowledgement (23.0.60; Viewing SVG files: Error when pressing C-v, M-v)
Date: Sat, 19 Jul 2008 00:37:39 +0200

The following patch fixes this problem for me.

2008-07-18  Markus Triska  <markus.triska@gmx.at>

        * image-mode.el (image-toggle-display): Record scroll settings
        when switching to image.

diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 00f2225..5ffbfe1 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -450,6 +450,7 @@ and showing the image as an image."
           (modified (buffer-modified-p)))
       (image-refresh image)
       (add-text-properties (point-min) (point-max) props)
+      (image-mode-setup-winprops)
       (set-buffer-modified-p modified)
       ;; Inhibit the cursor when the buffer contains only an image,
       ;; because cursors look very strange on top of images.






reply via email to

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