|
From: | John Paul Wallington |
Subject: | Re: ruby-mode not started automatically |
Date: | Wed, 18 Jun 2003 16:05:36 +0100 |
User-agent: | Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
David Wende <dwende@lynxpn.com> wrote: > M-: (load "ruby-mode") > > does work and start the mode. > > I have the following 2 lines in my .emacs > > (add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode)) > (autoload 'ruby-mode "Ruby mode" "Ruby mode" t) > but this apparently does not work. The second arg to `autoload' is the file name string of the emacs lisp library to pass to `load'. It shouldn't be "Ruby mode"; try "ruby-mode" instead.
[Prev in Thread] | Current Thread | [Next in Thread] |