Function: ansible-lint-errors

ansible-lint-errors is a natively compiled function defined in ansible.el.

Signature

(ansible-lint-errors)

Documentation

Replace make -k with ansible-lint, with an UTF-8 locale to avoid crashes.

Source Code

;; Defined in /nix/store/ihs1wd4idvapzygy87ss7ddr2pwcpsxg-emacs-packages-deps/share/emacs/site-lisp/elpa/ansible-20260607.1852/ansible.el
;;;###ansible-lint
(defun ansible-lint-errors ()
  "Replace make -k with ansible-lint, with an UTF-8 locale to avoid crashes."
  (make-local-variable 'compile-command)
  (let ((ansiblelint_command "ansible-lint ") (loc "LANG=C.UTF-8 "))
    (setq compile-command (concat loc ansiblelint_command buffer-file-name))))