Function: package-menu-mark-install

package-menu-mark-install is an interactive and byte-compiled function defined in package.el.gz.

Signature

(package-menu-mark-install &optional NUM)

Documentation

Mark the current package for installation and move to the next line.

The current package is the package at point.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defun package-menu-mark-install (&optional _num)
  "Mark the current package for installation and move to the next line.
The current package is the package at point."
  (interactive "p" package-menu-mode)
  (package--ensure-package-menu-mode)
  (if (member (package-menu-get-status) '("available" "avail-obso" "new" "dependency"))
      (tabulated-list-put-tag "I" t)
    (forward-line)))