FVWM: Using wingmr-mode.el to edit .fvwmrc

From: Dominic Mitchell <dominic_at_cedep.net>
Date: 04 Sep 1998 21:23:05 -0400

The following message is a courtesy copy of an article
that has been posted to gnu.emacs.help,comp.emacs as well.


I grabbed on the net wingmr-mode.el which is suppose to be a mode to
edit the .fvwmrc and alike.

It is said to put the following in your .emacs

(setq auto-mode-alist
      (append '(("\\.[A-Za-z]*wm$" . winmgr-mode)
              ("\\.[A-Za-z]*wmrc" . winmgr-mode)
              auto-mode-alist)))

(autoload 'winmgr-mode "winmgr-mode"
  "Mode for editing window manager config files")

(add-hook 'winmgr-mode-hook
          '(lambda ()
             (font-lock-mode t)
             (setq font-lock-keywords winmgr-font-lock-keywords)
           (font-lock-fontify-buffer)))


When I tried to byte compile .emacs an error message about the
auto-mode-alist appeared:

file mode specification error: (wrong-type-argument listp auto-mode-alist)

I am using Gnu Emacs-20.3 on Redhat Linux 5.0

Any idea what is wrong with this?

Thanks


-- 
==========================================================
Dominic Mitchell      Email: mitcheld_at_qed.econ.queensu.ca
Economic Department          mailto:dominic_at_cedep.net
Queen's University
Kingston, Ontario      
Canada, K7L 3N3	      Running Linux Redhat 5.0	
==========================================================
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Sep 04 1998 - 20:23:30 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST