Function: ebrowse-select-1st-to-9nth
ebrowse-select-1st-to-9nth is an interactive and byte-compiled
function defined in ebrowse.el.gz.
Signature
(ebrowse-select-1st-to-9nth)
Documentation
Select the nth entry in the list by the keys 1..9.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(defun ebrowse-select-1st-to-9nth ()
"Select the nth entry in the list by the keys 1..9."
(interactive)
(let* ((maxlin (count-lines (point-min) (point-max)))
(n (min maxlin (+ 2 (string-to-number (this-command-keys))))))
(goto-char (point-min))
(forward-line (1- n))
(throw 'electric-buffer-menu-select (point))))