]> git.eshelyaron.com Git - emacs.git/commitdiff
* image-mode.el (image-toggle-display): Use buffer contents to
authorChong Yidong <cyd@stupidchicken.com>
Fri, 26 May 2006 03:34:33 +0000 (03:34 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 26 May 2006 03:34:33 +0000 (03:34 +0000)
generate image for a remote file.

lisp/ChangeLog
lisp/image-mode.el

index a5b3f2b801429b785f8122dae40cccf22fee1ad5..76f065bc7475f7701749c4fb8050dddc6568a469 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image-mode.el (image-toggle-display): Use buffer contents to
+       generate image for a remote file.
+
 2006-05-25  Juri Linkov  <juri@jurta.org>
 
        * replace.el (query-replace-read-from, query-replace-read-to):
index 1a55676e3c701b51eadcf972b7184e40e69870f9..66d7fb6c16a04a7679059bc148c28072986c749d 100644 (file)
@@ -139,6 +139,7 @@ and showing the image as an image."
     ;; was inserted
     (let* ((image
            (if (and (buffer-file-name)
+                    (not (file-remote-p (buffer-file-name)))
                     (not (buffer-modified-p))
                     (not (and (boundp 'archive-superior-buffer)
                               archive-superior-buffer))