Mercurial > emacs
comparison lispref/internals.texi @ 60937:ddcbccff39ce
Optimize image filename extension regexps in
autoload cookies. Associate .x[bp]m with `image-mode-maybe'
in `auto-mode-alist'.
(image-mode): Add `image-toggle-display-text' to local hook
`change-major-mode-hook'. Display the image as an image by
default. Set `cursor-type' and `truncate-lines' if the image
is already displayed. Take into account the current mode (image
or text) in message.
(image-minor-mode): New minor mode.
(image-mode-maybe, image-toggle-display-text): New functions.
(image-toggle-display): Use called-interactively-p.
Let-bind `inhibit-read-only' to t.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Fri, 25 Mar 2005 19:57:21 +0000 |
parents | 718a981b5dd3 |
children | 8e0b1420853a 29e773288013 |
comparison
equal
deleted
inserted
replaced
60936:7f534015ddb7 | 60937:ddcbccff39ce |
---|