Commit 67192113 authored by Alex Gramiak's avatar Alex Gramiak Committed by Glenn Morris

Mark prolog indent variables as safe (bug#27369)

* lisp/progmodes/prolog.el (prolog-indent-width)
(prolog-left-indent-regexp, prolog-paren-indent-p)
(prolog-paren-indent): Add :safe property.
parent 3d7221d0
......@@ -358,13 +358,15 @@ The version numbers are of the format (Major . Minor)."
(defcustom prolog-indent-width 4
"The indentation width used by the editing buffer."
:group 'prolog-indentation
:type 'integer)
:type 'integer
:safe 'integerp)
(defcustom prolog-left-indent-regexp "\\(;\\|\\*?->\\)"
"Regexp for `prolog-electric-if-then-else-flag'."
:version "24.1"
:group 'prolog-indentation
:type 'regexp)
:type 'regexp
:safe 'stringp)
(defcustom prolog-paren-indent-p nil
"If non-nil, increase indentation for parenthesis expressions.
......@@ -374,14 +376,16 @@ right (if this variable is non-nil) or in the same way as for compound
terms (if this variable is nil, default)."
:version "24.1"
:group 'prolog-indentation
:type 'boolean)
:type 'boolean
:safe 'booleanp)
(defcustom prolog-paren-indent 4
"The indentation increase for parenthesis expressions.
Only used in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions."
:version "24.1"
:group 'prolog-indentation
:type 'integer)
:type 'integer
:safe 'integerp)
(defcustom prolog-parse-mode 'beg-of-clause
"The parse mode used (decides from which point parsing is done).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment