[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65649: [PATCH] package-vc: Continue installing package when document
From: |
Joseph Turner |
Subject: |
bug#65649: [PATCH] package-vc: Continue installing package when documentation build fails |
Date: |
Sat, 02 Sep 2023 09:49:24 -0700 |
Philip Kaludercic <philipk@posteo.net> writes:
> I think it would be better to wrap only the org code in the
> `condition-case' body, ideally with a more specific error type (if that
> doesn't exist, that is something we could mention to the Org
> maintainers).
The reason I wrapped both the org-export and makeinfo logic in
condition-case is so that the makeinfo logic does not run when the
org-export logic fails. Is there a better way?
We could let-bind a flag like failed-org-export-p, then set it to t in
the condition case handler, then only run makeinfo when
failed-org-export-p is nil. Seems a bit ugly.
The only define-error in org-mode that's relevant to org-export is not
general enough:
(define-error 'org-link-broken "Unable to resolve link; aborting")