4.4.1 Customizing the editor interface
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Editor Interface
          • Customizing the editor interface
            • prolog_edit:locate/3
            • prolog_edit:locate/2
            • prolog_edit:edit_source/1
            • prolog_edit:edit_command/2
            • prolog_edit:load/0
    • Packages
prolog_edit:load
Normally an undefined multifile predicate. This predicate may be defined to provide loading hooks for user extensions to the edit module. For example, XPCE provides the code below to load library(swi_edit), containing definitions to locate classes and methods as well as to bind this package to the PceEmacs built-in editor.
:- multifile prolog_edit:load/0.

prolog_edit:load :-
        ensure_loaded(library(swi_edit)).