diff options
| author | Juri Linkov | 2005-03-25 19:57:21 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-03-25 19:57:21 +0000 |
| commit | d90e651e6e5900a57f061d4e691c5e9409322ff9 (patch) | |
| tree | c2c6ba97fd7c9d817a901aac2211322af93cb975 /src | |
| parent | 5341e481c898eed728a270628e225f80b9de0506 (diff) | |
| download | emacs-d90e651e6e5900a57f061d4e691c5e9409322ff9.tar.gz emacs-d90e651e6e5900a57f061d4e691c5e9409322ff9.zip | |
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions