Variable: prolog-electric-colon-flag

prolog-electric-colon-flag is a customizable variable defined in prolog.el.gz.

Value

nil

Documentation

Non-nil means make : electric (inserts :- on a new line).

If non-nil, pressing : at the end of a line that starts in
the first column (i.e., clause 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-colon-flag nil
  "Non-nil means make `:' electric (inserts `:-' on a new line).
If non-nil, pressing `:' at the end of a line that starts in
the first column (i.e., clause heads) inserts ` :-' and newline."
  :version "24.1"
  :group 'prolog-keyboard
  :type 'boolean)