Function: editorconfig-core-handle-section-get-properties

editorconfig-core-handle-section-get-properties is a byte-compiled function defined in editorconfig-core-handle.el.gz.

Signature

(editorconfig-core-handle-section-get-properties SECTION FILE)

Documentation

Return properties alist when SECTION name match FILE.

FILE should be a relative file name, relative to the directory where the .editorconfig file which has SECTION lives. If not match, return nil.

Source Code

;; Defined in /usr/src/emacs/lisp/editorconfig-core-handle.el.gz
(defun editorconfig-core-handle-section-get-properties (section file)
  "Return properties alist when SECTION name match FILE.

FILE should be a relative file name, relative to the directory where
the `.editorconfig' file which has SECTION lives.
If not match, return nil."
  (when (editorconfig-core-handle--fnmatch-p
         file (editorconfig-core-handle-section-name section))
    (editorconfig-core-handle-section-props section)))