Function: gametree-save-and-hack-layout
gametree-save-and-hack-layout is an interactive and byte-compiled
function defined in gametree.el.gz.
Signature
(gametree-save-and-hack-layout)
Documentation
Save the current tree layout and hack the file local variable spec.
This function saves the current layout in gametree-local-layout and,
if a local file variable specification for this variable exists in the
buffer, it is replaced by the new value. See the documentation for
gametree-local-layout for more information.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/gametree.el.gz
(defun gametree-save-and-hack-layout ()
"Save the current tree layout and hack the file local variable spec.
This function saves the current layout in `gametree-local-layout' and,
if a local file variable specification for this variable exists in the
buffer, it is replaced by the new value. See the documentation for
`gametree-local-layout' for more information."
(interactive)
(gametree-save-layout)
(let ((inhibit-read-only t))
(gametree-hack-file-layout))
nil)