From 132003351f8a6d54be51187acc9503b87144d3cd Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 25 Mar 2005 19:58:21 +0000 Subject: [PATCH] (image-file-name-extensions): Remove .xbm and .xpm associated with c-mode in `auto-mode-alist'. --- lisp/ChangeLog | 18 ++++++++++++++++++ lisp/image-file.el | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e28870a2074..586b613f4fd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,21 @@ +2005-03-25 Juri Linkov + + * image-mode.el: 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. + + * image-file.el (image-file-name-extensions): Remove .xbm and .xpm + associated with c-mode in `auto-mode-alist'. + 2005-03-25 Stefan Monnier * international/mule-cmds.el (set-locale-environment): For Mac OS X's diff --git a/lisp/image-file.el b/lisp/image-file.el index 11676021afd..c9bb6f0d0c0 100644 --- a/lisp/image-file.el +++ b/lisp/image-file.el @@ -38,7 +38,7 @@ ;;;###autoload (defcustom image-file-name-extensions - '("png" "jpeg" "jpg" "gif" "tiff" "tif" "xbm" "xpm" "pbm" "pgm" "ppm" "pnm") + '("png" "jpeg" "jpg" "gif" "tiff" "tif" "pbm" "pgm" "ppm" "pnm") "*A list of image-file filename extensions. Filenames having one of these extensions are considered image files, in addition to those matching `image-file-name-regexps'. -- 2.39.2