annotate .arch-inventory @ 106409:87bc434475d4

Change roles of modes and functions in image-mode.el (Bug#5062). * image-mode.el: Replace `image-mode-maybe' with `image-mode' in `auto-mode-alist'. (image-mode-previous-major-mode): New variable. (image-minor-mode-map): Rename from `image-mode-text-map'. (image-mode): Move graceful error-handling code from `image-minor-mode' to here. On errors call `image-mode-as-text'. (image-minor-mode): Remove all image-handling code. Replace `image-mode-text-map' with `image-minor-mode-map'. Check for `image-type' in mode-line format string. (image-mode-maybe): Make obsolete with an alias to `image-mode'. (image-mode-as-text): New function with most code from `image-mode-maybe'. (image-toggle-display-text): Move code that removes image properties from `image-toggle-display' to here. (image-toggle-display-image): New function with code that adds image properties copied from `image-toggle-display'. (image-toggle-display): Remove most code with leaving only code that toggles between `image-mode-as-text' and `image-mode'.
author Juri Linkov <juri@jurta.org>
date Fri, 04 Dec 2009 21:43:07 +0000
parents 7cb1d5f71446
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56043
a0fc4f10d0cf Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401
Miles Bader <miles@gnu.org>
parents: 56026
diff changeset
1 # Generated files
a0fc4f10d0cf Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401
Miles Bader <miles@gnu.org>
parents: 56026
diff changeset
2 precious ^(config\.status|config\.cache)$
55782
3c8e35fb94bb Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-345
Miles Bader <miles@gnu.org>
parents:
diff changeset
3
56026
bb6720f21c54 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents: 55782
diff changeset
4 # Install-in-place makes these directories, so just ignore them
bb6720f21c54 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents: 55782
diff changeset
5 backup ^(bin|data|lock|site-lisp)$
bb6720f21c54 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents: 55782
diff changeset
6
55782
3c8e35fb94bb Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-345
Miles Bader <miles@gnu.org>
parents:
diff changeset
7 # arch-tag: 6eeeaa4e-cc7e-4b22-b3d7-1089e155da14