Emacs: Mark indentation variables as safe-local.

This commit is contained in:
tastytea 2021-01-20 07:34:28 +01:00
parent 8c2d36e595
commit fc796a94d1
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@
;; Open more file extensions in nxml-mode.
(use-package nxml
: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))
;; Syntax highlighting for docker files.