Fix VC package build when doc file isn't in a subdir
* lisp/emacs-lisp/package-vc.el (package-vc--build-documentation): Expand 'file' before attempting to get its directory. (Bug#64242)
This commit is contained in:
committed by
Philip Kaludercic
parent
382f5fa813
commit
4df510c7a7
@@ -347,7 +347,7 @@ FILE can be an Org file, indicated by its \".org\" extension,
|
||||
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 (expand-file-name (file-name-directory file)))
|
||||
(docs-directory (file-name-directory (expand-file-name file)))
|
||||
(output (expand-file-name (format "%s.info" pkg-name)))
|
||||
clean-up)
|
||||
(when (string-match-p "\\.org\\'" file)
|
||||
|
||||
Reference in New Issue
Block a user