Commit 37219830 authored by Daiki Ueno's avatar Daiki Ueno

Add :safe for js indent variables.

Fixes: debbugs:12257
parent cb785792
2012-08-22 Daiki Ueno <ueno@unixuser.org>
* progmodes/js.el (js-indent-level, js-expr-indent-offset)
(js-paren-indent-offset, js-square-indent-offset)
(js-curly-indent-offset): Add :safe (Bug#12257).
2012-08-22 Edward O'Connor <hober0@gmail.com>
* json.el (json-key-format): Add error properties.
......
......@@ -426,18 +426,21 @@ Match group 1 is the name of the macro.")
(defcustom js-indent-level 4
"Number of spaces for each indentation step in `js-mode'."
:type 'integer
:safe 'integerp
:group 'js)
(defcustom js-expr-indent-offset 0
"Number of additional spaces for indenting continued expressions.
The value must be no less than minus `js-indent-level'."
:type 'integer
:safe 'integerp
:group 'js)
(defcustom js-paren-indent-offset 0
"Number of additional spaces for indenting expressions in parentheses.
The value must be no less than minus `js-indent-level'."
:type 'integer
:safe 'integerp
:group 'js
:version "24.1")
......@@ -445,6 +448,7 @@ The value must be no less than minus `js-indent-level'."
"Number of additional spaces for indenting expressions in square braces.
The value must be no less than minus `js-indent-level'."
:type 'integer
:safe 'integerp
:group 'js
:version "24.1")
......@@ -452,6 +456,7 @@ The value must be no less than minus `js-indent-level'."
"Number of additional spaces for indenting expressions in curly braces.
The value must be no less than minus `js-indent-level'."
:type 'integer
:safe 'integerp
:group 'js
:version "24.1")
......
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