Function: jinx--add-file-local

jinx--add-file-local is a natively compiled function defined in jinx.el.

Signature

(jinx--add-file-local VAR &optional DELETE)

Documentation

Add file-local variable VAR, optionally DELETE.

Source Code

;; Defined in /nix/store/b5jnxgwmlp7hh60wfrx7amhrmrpfcqqi-emacs-packages-deps/share/emacs/site-lisp/elpa/jinx-20260926.912/jinx.el
(defun jinx--add-file-local (var &optional delete)
  "Add file-local variable VAR, optionally DELETE."
  (apply (intern (concat (if delete "delete-" "add-")
                         "file-local-variable"
                         (and jinx-save-prop-line "-prop-line")))
         var (and (not delete) (list (symbol-value var)))))