[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/lisp image-mode.el
From: |
Juri Linkov |
Subject: |
[Emacs-commit] emacs/lisp image-mode.el |
Date: |
Fri, 25 Mar 2005 14:57:21 -0500 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch:
Changes by: Juri Linkov <address@hidden> 05/03/25 19:57:21
Modified files:
lisp : image-mode.el
Log message:
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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/image-mode.el.diff?tr1=1.3&tr2=1.4&r1=text&r2=text