瀏覽代碼

Update doc

master
10sr 6 年之前
父節點
當前提交
e7d8fccaa9
簽署人: 10sr GPG 金鑰 ID: 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)


Loading…
取消
儲存