[PATCH] lisp/org/ol.el: org-link-make-description-function is always applied
I have signed the copyright assignment before. The change is very small, so I think taking a look at the diff is more informative than I trying to explain it; the old code did not use `org-link-make-description-function` when some other alternatives were available, but my changes make it always use `org-link-make-description-function` if set. This change is a breaking API change, but I think the previous behavior was a bug. If you want to preserve the old behavior, perhaps we should add a new variable `org-link-postprocess-description-function`? Changelog: * lisp/org/ol.el (org-insert-link): org-link-make-description-function is always applied to the description. 0001-lisp-org-ol.el-org-link-make-description-function-is.patch Description: Binary data
[PATCH] ox.el: Refactor variable org-html--id-attr-prefix, ox-html.el: Add support for the ID property to org-html--reference
I have already signed the copyright assignment. (Though I used my other email rudiwillalwayslove...@gmail.com when signing it.) I have manually tested the changes with a custom value for `org-html--id-attr-prefix', and everything works. I did not change the behavior of `org-html-prefer-user-labels'; the ID property will not be used if `org-html-prefer-user-labels' is nil. IMO this behavior should be changed, and it should be always used, just like CUSTOM_ID. Changelog: * org/ox.el (org-html--id-attr-prefix): Refactor hardcoded "ID-" as a new private variable. * org/ox-html.el (org-html--reference): Add support for the ID property (previously only supported CUSTOM_ID) These changes make crossfile ID links work in the exported HTML when `org-html-prefer-user-labels' is not-nil. 0001-ox.el-Refactor-variable-org-html-id-attr-prefix-ox-h.patch Description: Binary data