Function: sh-save-styles-to-buffer

sh-save-styles-to-buffer is an interactive and byte-compiled function defined in sh-script.el.gz.

Signature

(sh-save-styles-to-buffer BUFF)

Documentation

Save all current styles in elisp to buffer BUFF.

This is always added to the end of the buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defun sh-save-styles-to-buffer (buff)
  "Save all current styles in elisp to buffer BUFF.
This is always added to the end of the buffer."
  (interactive
   (list
    (read-from-minibuffer "Buffer to save styles in? " "*scratch*")))
  (with-current-buffer (get-buffer-create buff)
    (goto-char (point-max))
    (insert "\n")
    (pp `(setq sh-styles-alist ',sh-styles-alist) (current-buffer))))