We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc41e5 commit 1670368Copy full SHA for 1670368
lisp/core/install-file.el
@@ -51,6 +51,9 @@
51
;; Note `package-dir-info' doesn't work outside of dired mode!
52
(let ((pkg-desc (with-temp-buffer
53
(dired path)
54
+ ;; After Emacs 31, the function `package-dir-info'
55
+ ;; will respect the marked files.
56
+ (dired-mark-files-in-region (point-min) (point-max))
57
(ignore-errors (package-dir-info)))))
58
(unless pkg-desc
59
;; `package-dir-info' will return nil if there is no `-pkg.el'
0 commit comments