* image-mode.el (image-toggle-display): Clear image cache if using
filename.
This commit is contained in:
parent
d2ea84be64
commit
fcfc4732e0
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue