Function: editorconfig-mode-apply

editorconfig-mode-apply is an interactive and byte-compiled function defined in editorconfig-tools.el.gz.

Signature

(editorconfig-mode-apply)

Documentation

Get and apply EditorConfig properties to current buffer.

This function does nothing when the major mode is listed in editorconfig-exclude-modes, or variable buffer-file-name(var)/buffer-file-name(fun) matches any of regexps in editorconfig-exclude-regexps.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/editorconfig-tools.el.gz
(defun editorconfig-mode-apply ()
  "Get and apply EditorConfig properties to current buffer.

This function does nothing when the major mode is listed in
`editorconfig-exclude-modes', or variable `buffer-file-name' matches
any of regexps in `editorconfig-exclude-regexps'."
  (interactive)
  (when (and major-mode buffer-file-name)
    (editorconfig-apply)))