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
bd9a66dd
Commit
bd9a66dd
authored
Jul 25, 2008
by
Chong Yidong
Browse files
(image-minor-mode): Set up winprops.
parent
763e5db3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lisp/image-mode.el
lisp/image-mode.el
+1
-0
No files found.
lisp/image-mode.el
View file @
bd9a66dd
...
...
@@ -361,6 +361,7 @@ See the command `image-mode' for more information on this mode."
(
if
(
image-get-display-property
)
(
setq
cursor-type
nil
truncate-lines
t
)
(
setq
image-type
"text"
))
(
image-mode-setup-winprops
)
(
add-hook
'change-major-mode-hook
(
lambda
()
(
image-minor-mode
-1
))
nil
t
)
(
message
"%s"
(
concat
(
substitute-command-keys
"Type \\[image-toggle-display] to view the image as "
)
...
...
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