Browse Source

Update doc

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

+ 2
- 2
emacs.el View File

@@ -1614,7 +1614,7 @@ This mode is a simplified version of `adoc-mode'."
'editorconfig-auto-apply-mode--when-save)))

(defun editorconfig-auto-apply-mode--when-save ()
"Function run when editorconfig"
"When saving .editorconfig file walk all buffers and update configs."
(when (eq major-mode
'editorconfig-conf-mode)
(let ((dir (file-name-directory buffer-file-name)))
@@ -1644,7 +1644,7 @@ This mode is a simplified version of `adoc-mode'."
(point-max))
num)
(setq end (+ beg size))
(insert-file-contents filename
(insert-file-contents-literally filename
nil
beg
end)


Loading…
Cancel
Save