1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/net/tramp-cmds.el (tramp-recompile-elpa-command-completion-p):

Check, whether Tramp has a package description.
This commit is contained in:
Michael Albinus 2021-04-23 19:57:50 +02:00
parent 57cc2e94f7
commit 5d287b4605

View file

@ -482,7 +482,8 @@ It is completed by \"M-x TAB\" only if package.el is loaded, and
Tramp is an installed ELPA package."
;; We cannot apply `package-installed-p', this would also return the
;; builtin package.
(tramp-compat-funcall 'package--user-installed-p 'tramp))
(and (assq 'tramp (bound-and-true-p package-alist))
(tramp-compat-funcall 'package--user-installed-p 'tramp)))
;;;###tramp-autoload
(defun tramp-recompile-elpa ()