Emacs: Mark indentation variables as safe-local.
This commit is contained in:
parent
8c2d36e595
commit
fc796a94d1
|
@ -184,6 +184,10 @@
|
||||||
;; Open more file extensions in nxml-mode.
|
;; Open more file extensions in nxml-mode.
|
||||||
(use-package nxml
|
(use-package nxml
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
|
:init (progn
|
||||||
|
;; mark variables as safe.
|
||||||
|
(put 'nxml-child-indent 'safe-local-variable #'integerp)
|
||||||
|
(put 'nxml-outline-child-indent 'safe-local-variable #'integerp))
|
||||||
:mode ("\\.qrc" . nxml-mode))
|
:mode ("\\.qrc" . nxml-mode))
|
||||||
|
|
||||||
;; Syntax highlighting for docker files.
|
;; Syntax highlighting for docker files.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user