diff options
| author | Joseph Turner | 2023-08-12 01:40:07 -0700 |
|---|---|---|
| committer | Philip Kaludercic | 2023-08-19 11:39:50 +0200 |
| commit | 500ced133ad85437fefb98cd89a162a6ff6b7e09 (patch) | |
| tree | cf9bf697fd995057d6a1f44e821aa9c4e55499e6 | |
| parent | 456ecabe9e860aaf5d4f09d1871bd7cc26b8e359 (diff) | |
| download | emacs-500ced133ad85437fefb98cd89a162a6ff6b7e09.tar.gz emacs-500ced133ad85437fefb98cd89a162a6ff6b7e09.zip | |
Fix building of VC package manuals with relative org links/includes
* lisp/emacs-lisp/package-vc.el (package-vc--build-documentation):
Ensure that default-default is the docs-directory around
org-export-to-file to ensure that links to relative files work
correctly. (Bug#65243)
| -rw-r--r-- | lisp/emacs-lisp/package-vc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index b4c911015b5..ffc7afeb2ee 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el | |||
| @@ -356,7 +356,8 @@ otherwise it's assumed to be an Info file." | |||
| 356 | (with-temp-buffer | 356 | (with-temp-buffer |
| 357 | (insert-file-contents file) | 357 | (insert-file-contents file) |
| 358 | (setq file (make-temp-file "ox-texinfo-")) | 358 | (setq file (make-temp-file "ox-texinfo-")) |
| 359 | (org-export-to-file 'texinfo file) | 359 | (let ((default-directory docs-directory)) |
| 360 | (org-export-to-file 'texinfo file)) | ||
| 360 | (setq clean-up t))) | 361 | (setq clean-up t))) |
| 361 | (with-current-buffer (get-buffer-create " *package-vc doc*") | 362 | (with-current-buffer (get-buffer-create " *package-vc doc*") |
| 362 | (erase-buffer) | 363 | (erase-buffer) |