prolog-mode

prolog-mode is an interactive autoloaded compiled Lisp function in `prolog.el'.


(prolog-mode)

Parent mode: `prog-mode'.

Major mode for editing Prolog code.

Blank lines and `%%...' separate paragraphs. `%'s starts a comment
line and comments can also be enclosed in /* ... */.

If an optional argument SYSTEM is non-nil, set up mode for the given system.

To find out what version of Prolog mode you are running, enter
`M-x prolog-mode-version'.

Commands:
key binding
--- -------

C-c Prefix Command
ESC Prefix Command

C-M-a prolog-beginning-of-predicate
C-M-c prolog-mark-clause
C-M-e prolog-end-of-predicate
C-M-h prolog-mark-predicate
M-RET prolog-insert-next-clause
C-M-x prolog-consult-region
M-a prolog-beginning-of-clause
M-e prolog-end-of-clause
M-q prolog-fill-paragraph

C-c C-a align
C-c C-b prolog-consult-buffer
C-c C-c Prefix Command
C-c C-d prolog-debug-on
C-c C-f prolog-consult-file
C-c C-l prolog-consult-file
C-c RET run-prolog
C-c C-n prolog-insert-predicate-template
C-c C-p prolog-consult-predicate
C-c C-r prolog-consult-region
C-c C-s prolog-insert-predspec
C-c C-t prolog-trace-on
C-c C-v Prefix Command
C-c C-z run-prolog
C-c / prolog-help-apropos
C-c ? prolog-help-on-predicate

C-c C-c b prolog-compile-buffer
C-c C-c f prolog-compile-file
C-c C-c p prolog-compile-predicate
C-c C-c r prolog-compile-region

C-c C-v C-s prolog-view-predspec
C-c C-v a prolog-variables-to-anonymous



In addition to any hooks its parent mode `prog-mode' might have run,
this mode runs the hook `prolog-mode-hook', as the final step
during initialization.