Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
fcfc4732
Commit
fcfc4732
authored
Feb 09, 2006
by
Chong Yidong
Browse files
* image-mode.el (image-toggle-display): Clear image cache if using
filename.
parent
d2ea84be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/image-mode.el
lisp/image-mode.el
+2
-1
No files found.
lisp/ChangeLog
View file @
fcfc4732
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
...
...
lisp/image-mode.el
View file @
fcfc4732
...
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment