Commit fcfc4732 authored by Chong Yidong's avatar Chong Yidong

* image-mode.el (image-toggle-display): Clear image cache if using

	filename.
parent d2ea84be
2006-02-09 Chong Yidong <cyd@stupidchicken.com>
* image-mode.el (image-toggle-display): Clear image cache if using
filename.
2006-02-09 Masatake YAMATO <jet@gyve.org>
* dired-x.el (dired-guess-shell-alist-default): Add .man as
......
......@@ -140,7 +140,8 @@ and showing the image as an image."
(let* ((image
(if (and (buffer-file-name)
(not (buffer-modified-p)))
(create-image (buffer-file-name))
(progn (clear-image-cache)
(create-image (buffer-file-name)))
(create-image
(string-make-unibyte
(buffer-substring-no-properties (point-min) (point-max)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment