Function: recentf-dialog-goto-first

recentf-dialog-goto-first is a byte-compiled function defined in recentf.el.gz.

Signature

(recentf-dialog-goto-first WIDGET-TYPE)

Documentation

Move the cursor to the first WIDGET-TYPE in current dialog.

Go to the beginning of buffer if not found.

Source Code

;; Defined in /usr/src/emacs/lisp/recentf.el.gz
(defun recentf-dialog-goto-first (widget-type)
  "Move the cursor to the first WIDGET-TYPE in current dialog.
Go to the beginning of buffer if not found."
  (goto-char (point-min))
  (condition-case nil
      (let (done)
        (widget-move 1)
        (while (not done)
          (if (eq widget-type (widget-type (widget-at (point))))
              (setq done t)
            (widget-move 1))))
    (error
     (goto-char (point-min)))))