1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Fix package-vc to install multiple info manuals

* lisp/emacs-lisp/package-vc.el (package-vc--build-documentation):
  Take the name of the .info file from the name of the source file,
  instead of from the name of the package.
This commit is contained in:
David Fussner 2025-10-30 14:51:05 +00:00 committed by Philip Kaludercic
parent 60a13d85fe
commit 69092236f4
No known key found for this signature in database

View file

@ -371,7 +371,7 @@ otherwise it's assumed to be an Info file."
(let* ((pkg-name (package-desc-name pkg-desc))
(default-directory (package-desc-dir pkg-desc))
(docs-directory (file-name-directory (expand-file-name file)))
(output (expand-file-name (format "%s.info" pkg-name)))
(output (expand-file-name (format "%s.info" (file-name-base file))))
(log-buffer (get-buffer-create (format " *package-vc doc: %s*" pkg-name)))
clean-up)
(with-current-buffer log-buffer