Function: emacs-authors-next-author

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

Signature

(emacs-authors-next-author &optional ARG)

Documentation

Move point to the next author in "etc/AUTHORS".

With a prefix arg ARG, move point that many authors forward.

Key Bindings

Aliases

etc-authors-next-author (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/emacs-authors-mode.el.gz
(defun emacs-authors-next-author (&optional arg)
  "Move point to the next author in \"etc/AUTHORS\".
With a prefix arg ARG, move point that many authors forward."
  (interactive "p" emacs-authors-mode)
  (if (< 0 arg)
      (progn
        (when (looking-at emacs-authors--author-re)
          (forward-line 1))
        (re-search-forward emacs-authors--author-re nil t arg))
    (when (looking-at emacs-authors--author-re)
      (forward-line -1))
    (re-search-backward emacs-authors--author-re nil t (abs arg)))
  (goto-char (line-beginning-position)))