浏览代码

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)


正在加载...
取消
保存