Function: magit-hack-dir-local-variables

magit-hack-dir-local-variables is a byte-compiled function defined in magit-mode.el.

Signature

(magit-hack-dir-local-variables)

Documentation

Like hack-dir-local-variables-non-file-buffer but ignore some variables.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defun magit-hack-dir-local-variables ()
  "Like `hack-dir-local-variables-non-file-buffer' but ignore some variables."
  (let ((ignored-local-variables
         `(show-trailing-whitespace
           ,@ignored-local-variables)))
    (hack-dir-local-variables-non-file-buffer)))