Function: set-local

set-local is a byte-compiled function defined in compat-31.el.

Signature

(set-local VARIABLE VALUE)

Documentation

[Compatibility function for set-local, defined in Emacs 31.0.50. See (compat)
Emacs 31.0.50' for more details.]

Make VARIABLE buffer local and set it to VALUE.

Source Code

;; Defined in ~/.emacs.d/elpa/compat-31.0.0.2/compat-31.el
(compat-defun set-local (variable value) ;; <compat-tests:set-local>
  "Make VARIABLE buffer local and set it to VALUE."
  (set (make-local-variable variable) value))