From e7d8fccaa9cd786f2061507a274536705c9c7015 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 3 Sep 2018 20:14:36 +0900 Subject: [PATCH] Update doc --- emacs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index ae837b3..6e805a1 100644 --- a/emacs.el +++ b/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)