branch: externals-release/org
commit b7026cf3e8cda347c377db498cf7dab70c7a67a4
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
lisp/ox-html.el (org-html-fontify-code): Improve warning text
The old text may be confusing because it sounds like an error, except
that it is not. Make it more clear and also mention relevant
customization.
Reported-by: Angelo Graziosi <[email protected]>
Link:
https://yhetil.org/emacs-devel/[email protected]
---
lisp/ox-html.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index d1687cf5a8..446698758c 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -2351,7 +2351,7 @@ is the language used for CODE, as a string, or nil."
((not (progn (require 'htmlize nil t)
(fboundp 'htmlize-region-for-paste)))
;; Emit a warning.
- (warn "Cannot fontify source block (htmlize.el >= 1.34 required)")
+ (warn "Cannot fontify source block (htmlize.el >= 1.34 required).
Falling back to plain text. (see `org-html-htmlize-output-type')")
(org-html-encode-plain-text code))
(t
;; Map language