Variable: prolog-electric-dot-flag
prolog-electric-dot-flag is a customizable variable defined in
prolog.el.gz.
Value
nil
Documentation
Non-nil means make dot key electric.
Electric dot appends newline or inserts head of a new clause. If dot is pressed at the end of a line where at least one white space precedes the point, it inserts a recursive call to the current predicate. If dot is pressed at the beginning of an empty line, it inserts the head of a new clause for the current predicate. It does not apply in strings and comments. It does not apply in strings and comments.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/prolog.el.gz
;; Keyboard
(defcustom prolog-electric-dot-flag nil
"Non-nil means make dot key electric.
Electric dot appends newline or inserts head of a new clause.
If dot is pressed at the end of a line where at least one white space
precedes the point, it inserts a recursive call to the current predicate.
If dot is pressed at the beginning of an empty line, it inserts the head
of a new clause for the current predicate. It does not apply in strings
and comments.
It does not apply in strings and comments."
:version "24.1"
:group 'prolog-keyboard
:type 'boolean)