diff options
author | Daniel Semyonov <daniel@dsemy.com> | 2023-06-23 08:40:57 +0300 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2023-06-25 23:33:24 +0200 |
commit | 4df510c7a7097641169ac8f088bf1923ea04c2cc (patch) | |
tree | 745d41155fbe169ded463ce2b26eb338e69e0abd /lisp/emacs-lisp | |
parent | 382f5fa81304724c8d708263bb17500a6da813a7 (diff) | |
download | emacs-4df510c7a7097641169ac8f088bf1923ea04c2cc.tar.gz emacs-4df510c7a7097641169ac8f088bf1923ea04c2cc.tar.bz2 emacs-4df510c7a7097641169ac8f088bf1923ea04c2cc.zip |
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)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package-vc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index 17e93c430c9..b4c911015b5 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -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) |