]> git.eshelyaron.com Git - emacs.git/commitdiff
Backport: js-indent-align-list-continuation: Make variable safe
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sat, 9 Feb 2019 19:50:05 +0000 (11:50 -0800)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Feb 2019 01:18:43 +0000 (04:18 +0300)
* lisp/progmodes/js.el (js-indent-align-list-continuation): Indicate
variable is safe as a file-local variable.  This fixes the
js-indent-align-list-continuation-nil test when run with make.

(cherry picked from commit dd319f2711f895eec87c1017b82cd9d88d9ecd0a)

lisp/progmodes/js.el

index 65ffb0e02f7a7fe1f5352b6d26032e4d340a773c..14571a04e1c2cb2dd4d880ec345a1f75c9cbc800 100644 (file)
@@ -479,6 +479,7 @@ This applies to function movement, marking, and so on."
   "Align continuation of non-empty ([{ lines in `js-mode'."
   :version "26.1"
   :type 'boolean
+  :safe 'booleanp
   :group 'js)
 
 (defcustom js-comment-lineup-func #'c-lineup-C-comments