mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
Add :safe for js indent variables.
Fixes: debbugs:12257
This commit is contained in:
parent
cb7857924b
commit
37219830c7
@ -1,3 +1,9 @@
|
||||
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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user