Function: emacs-authors-mode

emacs-authors-mode is an autoloaded, interactive and byte-compiled function defined in emacs-authors-mode.el.gz.

Signature

(emacs-authors-mode)

Documentation

Major mode for viewing "etc/AUTHORS" from the Emacs distribution.

Provides some basic font locking and not much else.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook emacs-authors-mode-hook, as the final or penultimate step during initialization.

n emacs-authors-next-author
p emacs-authors-prev-author

Key Bindings

Aliases

etc-authors-mode (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/emacs-authors-mode.el.gz
;;;###autoload
(define-derived-mode emacs-authors-mode special-mode "Authors View"
  "Major mode for viewing \"etc/AUTHORS\" from the Emacs distribution.
Provides some basic font locking and not much else."
  (setq-local font-lock-defaults
              '(emacs-authors-mode-font-lock-keywords nil nil ((?_ . "w"))))
  (setq font-lock-multiline nil)
  (setq imenu-generic-expression emacs-authors-imenu-generic-expression)
  (emacs-etc--hide-local-variables)
  (setq-local outline-regexp (rx (+ (not (any ":\n"))) ": "
                                 (or "changed" "co-wrote" "wrote") " ")
              outline-minor-mode-cycle t
              outline-level
              (lambda ()
                (if (looking-at (rx bol
                                    (or (or "  "
                                            (seq "and " (or "co-wrote"
                                                            "changed")))
                                        eol)))
                    2
                  1)))
  (outline-minor-mode))