Function: editorconfig--get-line-length
editorconfig--get-line-length is a byte-compiled function defined in
editorconfig.el.gz.
Signature
(editorconfig--get-line-length PROPS)
Documentation
Get the max line length (fill-column) to PROPS.
Source Code
;; Defined in /usr/src/emacs/lisp/editorconfig.el.gz
(defun editorconfig--get-line-length (props)
"Get the max line length (`fill-column') to PROPS."
(let ((length (gethash 'max_line_length props)))
(when (and (editorconfig-string-integer-p length)
(> (string-to-number length) 0))
`((fill-column . ,(string-to-number length))))))