Function: etc-authors-mode--hide-local-variables

etc-authors-mode--hide-local-variables is a byte-compiled function defined in etc-authors-mode.el.gz.

Signature

(etc-authors-mode--hide-local-variables)

Documentation

Hide local variables in "etc/AUTHORS". Used by etc-authors-mode.

Source Code

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