[core] Avoid setting safe-local-variable to nil in spacemacs|defc
This commit is contained in:
parent
8814329a11
commit
539c7849d5
|
@ -90,8 +90,9 @@ NOTE: Variables defined with a group listed in
|
|||
`',standard)
|
||||
,(format "%s\n\nTYPE: %s\n" doc type)
|
||||
:type ,type
|
||||
:safe ,safe
|
||||
:group group)
|
||||
(when (not (null ',safe))
|
||||
(put ',symbol 'safe-local-variable ,safe))
|
||||
(when (memq group spacemacs-customization-uncustomizable-groups)
|
||||
;; HACK: This will make `custom-variable-p' return nil
|
||||
;; so the `describe-variable' function won't add customization
|
||||
|
|
Loading…
Reference in New Issue