projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57cc2e9
)
* lisp/net/tramp-cmds.el (tramp-recompile-elpa-command-completion-p):
author
Michael Albinus
<michael.albinus@gmx.de>
Fri, 23 Apr 2021 17:57:50 +0000
(19:57 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Fri, 23 Apr 2021 17:57:50 +0000
(19:57 +0200)
Check, whether Tramp has a package description.
lisp/net/tramp-cmds.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp-cmds.el
b/lisp/net/tramp-cmds.el
index 6342cf5287364c1db997a8f3088806b090d7ac21..a3cf6f3211a7de0df690f87d5c97323a83751a11 100644
(file)
--- a/
lisp/net/tramp-cmds.el
+++ b/
lisp/net/tramp-cmds.el
@@
-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 ()