Variable: prolog-electric-dash-flag
prolog-electric-dash-flag is a customizable variable defined in
prolog.el.gz.
Value
nil
Documentation
Non-nil means make - electric (inserts a --> on a new line).
If non-nil, pressing - at the end of a line that starts in
the first column (i.e., DCG heads) inserts --> and newline.
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
(defcustom prolog-electric-dash-flag nil
"Non-nil means make `-' electric (inserts a `-->' on a new line).
If non-nil, pressing `-' at the end of a line that starts in
the first column (i.e., DCG heads) inserts ` -->' and newline."
:version "24.1"
:group 'prolog-keyboard
:type 'boolean)