Enabling Emacs Support for SICStus Documentation

If you follow the steps in Section Quick Start, above, you can skip this section.

It is possible to look up the documentation for any built-in or library predicate from within Emacs (using C-c ? or the menu). For this to work Emacs must be told about the location of the ‘info’-files that make up the documentation.

The default location for the ‘info’-files are <prefix>/lib/sicstus-4.3.2/doc/info/ on UNIX platforms and C:/Program Files/SICStus Prolog VC12 4.3.2/doc/info/ under Windows.

Add the following to your ~/.emacs file, assuming INFO is the path to the info files, e.g. C:/Program Files/SICStus Prolog VC12 4.3.2/doc/info/

(setq Info-default-directory-list
   (append Info-default-directory-list '("INFO")))

for GNU Emacs, or

(setq Info-directory-list
   (append Info-directory-list '("INFO")))

for XEmacs. You can also use M-x customize-group RET info RET if your Emacs is recent enough. You may have to quit and restart Emacs for these changes to take effect.

Send feedback on this subject.