* Prolog mode
@ 2010-06-29 15:19 Andrea Crotti
0 siblings, 0 replies; only message in thread
From: Andrea Crotti @ 2010-06-29 15:19 UTC (permalink / raw)
To: help-gnu-emacs
I followed exactly the instructions from
http://bruda.ca/emacs-prolog/install.html
and copied and loaded the file, but when I try to use the prolog-mode I
get a nice
--8<---------------cut here---------------start------------->8---
if: Symbol's value as variable is void: prolog-mode-map-swi
--8<---------------cut here---------------end--------------->8---
but 'swi is correct, what's wrong with this configuration?
--8<---------------cut here---------------start------------->8---
(autoload 'run-prolog "prolog" "Start a Prolog sub-process." t)
(autoload 'prolog-mode "prolog" "Major mode for editing Prolog programs." t)
(autoload 'mercury-mode "prolog" "Major mode for editing Mercury programs." t)
(setq prolog-system 'swi)
(add-to-list 'auto-mode-alist '("\\.pl$" . prolog-mode))
--8<---------------cut here---------------end--------------->8---
Thanks,
Andrea
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-29 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 15:19 Prolog mode Andrea Crotti
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.