Function: editorconfig--should-set

editorconfig--should-set is a byte-compiled function defined in editorconfig.el.gz.

Signature

(editorconfig--should-set SYMBOL)

Documentation

Determine if editorconfig should set SYMBOL.

Source Code

;; Defined in /usr/src/emacs/lisp/editorconfig.el.gz
(cl-defun editorconfig--should-set (symbol)
  "Determine if editorconfig should set SYMBOL."
  (display-warning '(editorconfig editorconfig--should-set)
                   (format "symbol: %S"
                           symbol)
                   :debug)
  (when (assq symbol file-local-variables-alist)
    (cl-return-from editorconfig--should-set
      nil))

  (when (assq symbol dir-local-variables-alist)
    (cl-return-from editorconfig--should-set
      nil))

  t)