branch: scratch/editorconfig-cc commit 87d78d5746bf09d3eb1fc215dfaafbc81fa8bb7b Author: 10sr <8slashes+...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Add examples for core-handle members --- editorconfig-core-handle.el | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/editorconfig-core-handle.el b/editorconfig-core-handle.el index 0d664cbdc2..9a69e32220 100644 --- a/editorconfig-core-handle.el +++ b/editorconfig-core-handle.el @@ -41,11 +41,25 @@ "Hash of EditorConfig filename and its `editorconfig-core-handle' instance.") (cl-defstruct editorconfig-core-handle + ;; Alist of top propetties + ;; e.g. (("root" . "true")) (top-prop nil) + + ;; Alist of properties + ;; Key: Section name + ;; Value: Alist of properties for each section name + ;; e.g. + ;; ( + ;; ("*" ("end_of_line" . "lf") ("indent_style" . "space")) + ;; ("Makefile" ("indent_style" . "tab")) + ;; ) (prop nil) + + ;; e.g. (22310 59113 203882 991000) (mtime nil) - (path nil)) + ;; e.g. "/home/a/b/.editorconfig" + (path nil)) (defun editorconfig-core-handle (conf)