Previous: , Up: Installation   [Contents][Index]


3.12.1.4 Enabling Emacs Support for SICStus Documentation

If you follow the steps in Section Quick Start above, then 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.9.0/doc/info/ on UNIX platforms and C:/Program Files/SICStus Prolog VC16 4.9.0/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 VC16 4.9.0/doc/info/

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

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


Send feedback on this subject.