diff options
| author | Juri Linkov | 2007-08-25 14:08:44 +0000 |
|---|---|---|
| committer | Juri Linkov | 2007-08-25 14:08:44 +0000 |
| commit | 4a2f0e9922ebc453318a8d0040e9043d97066c53 (patch) | |
| tree | f05ee001b6b884e3fd4e54702fe56cff439d5299 | |
| parent | 62564fc7e8a25622d32132c74007a1f70aedf9c6 (diff) | |
| download | emacs-4a2f0e9922ebc453318a8d0040e9043d97066c53.tar.gz emacs-4a2f0e9922ebc453318a8d0040e9043d97066c53.zip | |
Add autoloads to put associations in auto-mode-alist:
associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
"\\.svgz?\\'" with xml-mode and image-mode-maybe.
| -rw-r--r-- | lisp/image-mode.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 3b95bf20cc8..cf977c01dee 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -41,8 +41,13 @@ | |||
| 41 | ;;;###autoload (push '("\\.gif\\'" . image-mode) auto-mode-alist) | 41 | ;;;###autoload (push '("\\.gif\\'" . image-mode) auto-mode-alist) |
| 42 | ;;;###autoload (push '("\\.tiff?\\'" . image-mode) auto-mode-alist) | 42 | ;;;###autoload (push '("\\.tiff?\\'" . image-mode) auto-mode-alist) |
| 43 | ;;;###autoload (push '("\\.p[bpgn]m\\'" . image-mode) auto-mode-alist) | 43 | ;;;###autoload (push '("\\.p[bpgn]m\\'" . image-mode) auto-mode-alist) |
| 44 | |||
| 45 | ;;;###autoload (push '("\\.x[bp]m\\'" . c-mode) auto-mode-alist) | ||
| 44 | ;;;###autoload (push '("\\.x[bp]m\\'" . image-mode-maybe) auto-mode-alist) | 46 | ;;;###autoload (push '("\\.x[bp]m\\'" . image-mode-maybe) auto-mode-alist) |
| 45 | 47 | ||
| 48 | ;;;###autoload (push '("\\.svgz?\\'" . xml-mode) auto-mode-alist) | ||
| 49 | ;;;###autoload (push '("\\.svgz?\\'" . image-mode-maybe) auto-mode-alist) | ||
| 50 | |||
| 46 | ;;; Image scrolling functions | 51 | ;;; Image scrolling functions |
| 47 | 52 | ||
| 48 | (defun image-forward-hscroll (&optional n) | 53 | (defun image-forward-hscroll (&optional n) |