Dear all,
I have a little problem using pov-mode with emacs:
I placed pov-mode.el in the directory /home/skassboh/emacs/site-lisp/.
I added the chunk
----------
;; Povray mode;; Where did you install the POV-mode? Change the path to
whatever
;; it's supposed to be
(setq load-path (cons "/home/skassboh/emacs/site-lisp/" load-path))
;; Set autoloading of POV-mode for these file-types.
(autoload 'pov-mode "pov-mode.el" "PoVray scene file mode" t)
(setq auto-mode-alist
(append '(("\.pov$" . pov-mode)
("\.inc$" . pov-mode)
) auto-mode-alist))
----------
in my .emacs file.
Then the pov-mode should work, whenever I open a buffer ending with .pov
after .emacs is loaded.
Instead I get the following error message from emacs:
Loading /home/skassboh/.emacs...done
(New file)
Loading pov-mode.el (source)...
("/home/skassboh/emacs/site-lisp/" . "/usr/share/emacs/21.3/etc/")
File mode specification error: (wrong-type-argument listp
"/usr/share/emacs/21.3/etc/")
Anybody out there who can help?
Thanks,
S.K.
Post a reply to this message
|