Function: sh-make-vars-local

sh-make-vars-local is an interactive and byte-compiled function defined in sh-script.el.gz.

Signature

(sh-make-vars-local)

Documentation

Make the indentation variables local to this buffer.

Normally they already are local. This command is provided in case variable sh-make-vars-local(var)/sh-make-vars-local(fun) has been set to nil.

To revert all these variables to the global values, use command sh-reset-indent-vars-to-global-values.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
;; Indentation stuff.

(defun sh-make-vars-local ()
  "Make the indentation variables local to this buffer.
Normally they already are local.  This command is provided in case
variable `sh-make-vars-local' has been set to nil.

To revert all these variables to the global values, use
command `sh-reset-indent-vars-to-global-values'."
  (interactive)
  (mapc 'make-local-variable sh-var-list)
  (message "Indentation variables are now local."))