Function: emacs-etc--hide-local-variables

emacs-etc--hide-local-variables is a byte-compiled function defined in subr-x.el.gz.

Signature

(emacs-etc--hide-local-variables)

Documentation

Hide local variables.

Used by emacs-authors-mode and emacs-news-mode.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/subr-x.el.gz
(defun emacs-etc--hide-local-variables ()
  "Hide local variables.
Used by `emacs-authors-mode' and `emacs-news-mode'."
  (narrow-to-region (point-min)
                    (save-excursion
                      (goto-char (point-max))
                      ;; Obfuscate to avoid this being interpreted
                      ;; as a local variable section itself.
                      (if (re-search-backward "^Local\sVariables:$" nil t)
                          (progn (forward-line -1) (point))
                        (point-max)))))