Function: last-completion

last-completion is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(last-completion)

Documentation

Move to the last item in the completions buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun last-completion ()
  "Move to the last item in the completions buffer."
  (interactive)
  (goto-char (previous-single-property-change
              (point-max) 'mouse-face nil (point-min)))
  ;; Move to the start of last one.
  (unless (get-text-property (point) 'mouse-face)
    (when-let ((pos (previous-single-property-change (point) 'mouse-face)))
      (goto-char pos))))