Function: ido-bury-buffer-at-head

ido-bury-buffer-at-head is an interactive and byte-compiled function defined in ido.el.gz.

Signature

(ido-bury-buffer-at-head)

Documentation

Bury the buffer at the head of ido-matches.

Probably introduced at or before Emacs version 25.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
;;; BURY CURRENT BUFFER
(defun ido-bury-buffer-at-head ()
  "Bury the buffer at the head of `ido-matches'."
  (interactive)
  (let ((enable-recursive-minibuffers t)
        (buf (ido-name (car ido-matches)))
        (nextbuf (cadr ido-matches)))
    (when (get-buffer buf)
      (bury-buffer buf)
      (setq ido-default-item nextbuf
            ido-text-init ido-text
            ido-exit 'refresh)
      (exit-minibuffer))))