mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-26 07:00:35 -08:00
Ensure system package cleanup
The function introduced in https://github.com/jwiegley/use-package/issues/673 wasn't declared at compile time, and it made byte compiler unhappy. Moreover, it was forgotten to remove redundant compile time variables. Thanks @tarsius for pointing that out. This change * Removes redundant variable declarations * Adds `system-packages-get-command` function declaration. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
642417ac05
commit
f38a100917
1 changed files with 1 additions and 3 deletions
|
|
@ -23,9 +23,7 @@
|
|||
(require 'system-packages nil t)
|
||||
|
||||
(eval-when-compile
|
||||
(defvar system-packages-package-manager)
|
||||
(defvar system-packages-supported-package-managers)
|
||||
(defvar system-packages-use-sudo))
|
||||
(declare-function system-packages-get-command "system-packages"))
|
||||
|
||||
(defun use-package-ensure-system-package-install-command (pack)
|
||||
"Return the default install command for PACK."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue