Hello,

after introducing the code lines that appear at the end of the Meep tutorial:

(if (assoc "\\.ctl" auto-mode-alist)
    nil
  (nconc auto-mode-alist '(("\\.ctl" . scheme-mode))))

a warning message appears after starting Emacs,

error: Attempt to modify read-only object, ((\.txz\' . tar-mode))

I managed to solve this by changing the last line from the previous code:

(if (assoc "\\.ctl" auto-mode-alist)
    nil
  (add-to-list 'auto-mode-alist '("\\.ctl\\'" . scheme-mode))))

Hope it helps,
-- 
Felipe Beltran-Mejia
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to