Variable: package-menu-use-current-if-no-marks
package-menu-use-current-if-no-marks is a customizable variable
defined in package.el.gz.
Value
t
Documentation
Whether x (package-menu-execute) in package menu operates on current package if none are marked.
If non-nil, and no packages are marked for installation or
deletion, x (package-menu-execute) will operate on the current package at point,
see package-menu-execute for details.
The default is t. Set to nil to get back the original behavior
of having package-menu-execute signal an error when no packages
are marked for installation or deletion.
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/package.el.gz
(defcustom package-menu-use-current-if-no-marks t
"Whether \\<package-menu-mode-map>\\[package-menu-execute] in package menu operates on current package if none are marked.
If non-nil, and no packages are marked for installation or
deletion, \\<package-menu-mode-map>\\[package-menu-execute] will operate on the current package at point,
see `package-menu-execute' for details.
The default is t. Set to nil to get back the original behavior
of having `package-menu-execute' signal an error when no packages
are marked for installation or deletion."
:version "29.1"
:type 'boolean)