10sr 5 роки тому
джерело
коміт
e7d8fccaa9
Підписано: 10sr Ідентифікатор GPG ключа: 7BEC428194130EB2
1 змінених файлів з 2 додано та 2 видалено
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el Переглянути файл

@@ -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)


Завантаження…
Відмінити
Зберегти