Browse Source

Fix editorconfig hook

master
10sr 4 years ago
parent
commit
5b21adff6c
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -1139,7 +1139,8 @@ THEM are function and its args."
(add-hook 'after-first-visit-hook (add-hook 'after-first-visit-hook
'editorconfig-mode) 'editorconfig-mode)
(add-hook 'after-first-visit-hook (add-hook 'after-first-visit-hook
'editorconfig-mode-apply))
'editorconfig-mode-apply
t)) ;; Do after enabling editorconfig-mode
(set-variable 'editorconfig-get-properties-function (set-variable 'editorconfig-get-properties-function
'editorconfig-core-get-properties-hash) 'editorconfig-core-get-properties-hash)
(set-variable 'editorconfig-mode-lighter "") (set-variable 'editorconfig-mode-lighter "")


Loading…
Cancel
Save