diff options
| author | Juri Linkov | 2005-03-25 19:58:21 +0000 |
|---|---|---|
| committer | Juri Linkov | 2005-03-25 19:58:21 +0000 |
| commit | 132003351f8a6d54be51187acc9503b87144d3cd (patch) | |
| tree | 722a993623a82a3795cded12c89a4b0580906d6d | |
| parent | d90e651e6e5900a57f061d4e691c5e9409322ff9 (diff) | |
| download | emacs-132003351f8a6d54be51187acc9503b87144d3cd.tar.gz emacs-132003351f8a6d54be51187acc9503b87144d3cd.zip | |
(image-file-name-extensions): Remove .xbm and .xpm
associated with c-mode in `auto-mode-alist'.
| -rw-r--r-- | lisp/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/image-file.el | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e28870a2074..586b613f4fd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2005-03-25 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * image-mode.el: Optimize image filename extension regexps in | ||
| 4 | autoload cookies. Associate .x[bp]m with `image-mode-maybe' | ||
| 5 | in `auto-mode-alist'. | ||
| 6 | (image-mode): Add `image-toggle-display-text' to local hook | ||
| 7 | `change-major-mode-hook'. Display the image as an image by | ||
| 8 | default. Set `cursor-type' and `truncate-lines' if the image | ||
| 9 | is already displayed. Take into account the current mode (image | ||
| 10 | or text) in message. | ||
| 11 | (image-minor-mode): New minor mode. | ||
| 12 | (image-mode-maybe, image-toggle-display-text): New functions. | ||
| 13 | (image-toggle-display): Use called-interactively-p. | ||
| 14 | Let-bind `inhibit-read-only' to t. | ||
| 15 | |||
| 16 | * image-file.el (image-file-name-extensions): Remove .xbm and .xpm | ||
| 17 | associated with c-mode in `auto-mode-alist'. | ||
| 18 | |||
| 1 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> | 19 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 20 | ||
| 3 | * international/mule-cmds.el (set-locale-environment): For Mac OS X's | 21 | * 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 @@ | |||
| 38 | 38 | ||
| 39 | ;;;###autoload | 39 | ;;;###autoload |
| 40 | (defcustom image-file-name-extensions | 40 | (defcustom image-file-name-extensions |
| 41 | '("png" "jpeg" "jpg" "gif" "tiff" "tif" "xbm" "xpm" "pbm" "pgm" "ppm" "pnm") | 41 | '("png" "jpeg" "jpg" "gif" "tiff" "tif" "pbm" "pgm" "ppm" "pnm") |
| 42 | "*A list of image-file filename extensions. | 42 | "*A list of image-file filename extensions. |
| 43 | Filenames having one of these extensions are considered image files, | 43 | Filenames having one of these extensions are considered image files, |
| 44 | in addition to those matching `image-file-name-regexps'. | 44 | in addition to those matching `image-file-name-regexps'. |