3.11.1.4 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-3.12.11/doc/info/ on UNIX platforms and C:/Program Files/SICStus Prolog VC10 3.12.11/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 VC10 3.12.11/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 new enough. You may have to quit and restart Emacs for these changes to take effect.