mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
62564fc7e8
commit
4a2f0e9922
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue