branch: scratch/editorconfig-cc
commit 4beeb9c830bb87f0a8eb034966d503fc66d537bb
Author: 10sr <8.slas...@gmail.com>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    Make editorconfig-properties-hash permanetn-local
---
 editorconfig.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/editorconfig.el b/editorconfig.el
index 040fe0e7cb..0944c2debb 100644
--- a/editorconfig.el
+++ b/editorconfig.el
@@ -277,6 +277,9 @@ Otherwise, use `delete-trailing-whitespace'."
 Set by `editorconfig-apply' and nil if that is not invoked in
 current buffer yet.")
 (make-variable-buffer-local 'editorconfig-properties-hash)
+(put 'editorconfig-properties-hash
+     'permanent-local
+     t)
 
 (defvar editorconfig-lisp-use-default-indent nil
   "Selectively ignore the value of indent_sizefor Lisp files.

Reply via email to