Arc Forumnew | comments | leaders | submitlogin
2 points by olifante 6170 days ago | link | parent

The "add-to-list" line for some reason is not enough to automatically activate the arc-mode for *.arc files, although I can activate it manually by doing M-x arc-mode.

By adding a variation of your snippet to my .emacs, I got arc-mode to activate automatically:

(add-to-list 'load-path "~/arc0") (autoload 'arc-mode "arc" "Arc mode." t) (setq auto-mode-alist (append '(("\\.arc$" . arc-mode)) auto-mode-alist))