QUERY
Cited in full for the benefit of others.
|--==> "JM" == Jeff Mincy <jeff(a)delphioutpost.com> writes:
JM> Where have you been hiding xpm-mode? This is just way too cool.
JM> Here is a patch to put xpm-mode on auto-mode-alist.
Is this necessary? I agree that xpm-mode is ultra nifty, but also it
is very easy to set up in your ~/.xemacs/init.el to load for *.xpm's
as well.
If others want this, I'll apply it.
JM> PS, I didn't actually test that it got added by the
JM> generate-file-autoloads thing.
JM> -jeff
JM> Index: xpm-mode.el
JM> ===================================================================
JM> RCS file: /home/cvsroot/xemacs/xemacs-packages/lisp/text-modes/xpm-mode.el,v
JM> retrieving revision 1.1.1.1
JM> diff -u -u -w -d -r1.1.1.1 xpm-mode.el
JM> --- xpm-mode.el 1999/05/13 14:40:12 1.1.1.1
JM> +++ xpm-mode.el 2002/01/28 01:57:22
JM> @@ -407,6 +407,9 @@
JM> (xpm-show-image))
JM> ;;;###autoload
JM> +(add-to-list 'auto-mode-alist '("\\.xpm\\'" . xpm-mode))
JM> +
JM> +;;;###autoload
JM> (defun xpm-mode (&optional arg)
JM> "Treat the current buffer as an xpm file and colorize it.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|