summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2007-08-25 14:08:44 +0000
committerJuri Linkov <juri@jurta.org>2007-08-25 14:08:44 +0000
commit4a2f0e9922ebc453318a8d0040e9043d97066c53 (patch)
treef05ee001b6b884e3fd4e54702fe56cff439d5299 /lisp/image-mode.el
parent62564fc7e8a25622d32132c74007a1f70aedf9c6 (diff)
downloademacs-4a2f0e9922ebc453318a8d0040e9043d97066c53.tar.gz
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.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el5
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 @@
;;;###autoload (push '("\\.gif\\'" . image-mode) auto-mode-alist)
;;;###autoload (push '("\\.tiff?\\'" . image-mode) auto-mode-alist)
;;;###autoload (push '("\\.p[bpgn]m\\'" . image-mode) auto-mode-alist)
+
+;;;###autoload (push '("\\.x[bp]m\\'" . c-mode) auto-mode-alist)
;;;###autoload (push '("\\.x[bp]m\\'" . image-mode-maybe) auto-mode-alist)
+;;;###autoload (push '("\\.svgz?\\'" . xml-mode) auto-mode-alist)
+;;;###autoload (push '("\\.svgz?\\'" . image-mode-maybe) auto-mode-alist)
+
;;; Image scrolling functions
(defun image-forward-hscroll (&optional n)