help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs python-mode


From: Kevin Harriss
Subject: Emacs python-mode
Date: Tue, 04 Jul 2006 20:59:05 -0500

I am trying to setup python mode in emacs21 for linux.  I have
python-mode.el, pycomplete.el, and doctest-mode.el in ~/elisp.  In
my .emacs I have the following lines:

(add-to-list 'load-path "~/elisp")
(autoload 'python-mode "python-mode" "Python mode" t)
(setq auto-mode-alist (append '(("\\.py$" python-mode))
 auto-mode-alist))

Whenever I open emacs I get this error File mode specification error:
(invalid-function (python-mode)).

Thanks in advance,

Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]