diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2006-05-26 03:34:33 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2006-05-26 03:34:33 +0000 |
commit | 4d687160ec47448124bc93ab3aec2b24d49544c0 (patch) | |
tree | 8fec0e86de4423c2af88f522a26b1bbf367b1605 /lisp/image-mode.el | |
parent | 3165e4509a795c2a9204fda98fa3844fbfcde01a (diff) | |
download | emacs-4d687160ec47448124bc93ab3aec2b24d49544c0.tar.gz |
* image-mode.el (image-toggle-display): Use buffer contents to
generate image for a remote file.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r-- | lisp/image-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 1a55676e3c7..66d7fb6c16a 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el @@ -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)) |