emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 58e0e92: Backport: js-indent-align-list-continuat


From: Dmitry Gutov
Subject: [Emacs-diffs] emacs-26 58e0e92: Backport: js-indent-align-list-continuation: Make variable safe
Date: Wed, 13 Feb 2019 20:18:57 -0500 (EST)

branch: emacs-26
commit 58e0e929afd432190296e6a412ff2458420fcb95
Author: Jackson Ray Hamilton <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Backport: js-indent-align-list-continuation: Make variable safe
    
    * 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 65ffb0e..14571a0 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]