1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juri Linkov
90d0be7d3f (image-minor-mode): Set cursor-type' and truncate-lines' if the
image is already displayed.  Add turning image-minor-mode off to
`change-major-mode-hook'.  Add message.
Call `image-toggle-display-text' after turning image-minor-mode off.
2005-03-25 21:45:47 +00:00
Juri Linkov
d90e651e6e 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.
2005-03-25 19:57:21 +00:00
Richard M. Stallman
837daa0d41 Handle .xpm files too.
(image-toggle-display): Preserve modification flag.
2005-03-21 17:42:36 +00:00
Miles Bader
8f7ee63901 Changes from arch/CVS synchronization 2005-03-18 02:53:44 +00:00
Richard M. Stallman
c7bd5d5712 *** empty log message *** 2005-03-18 00:15:23 +00:00