Hi Eric!

> I would like to use a python major mode, which emacs doesnt have. I
> found and downloaded a package that includes a python major mode file.
> Where do I define that particular file so it can be referenced as a
> mode in emacs?

I use the following lines:

;; load python-mode from python-mode.el
(autoload 'python-mode "python-mode" "Python Mode" t)

;; associate *.py with python-mode
(setq auto-mode-alist (cons '("\\.py\\'" . python-mode) auto-mode-alist))



Stefan.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to