emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] lisp/org/ol.el: org-link-make-description-function is always app


From: Feraidoon Mehri
Subject: [PATCH] lisp/org/ol.el: org-link-make-description-function is always applied
Date: Tue, 16 May 2023 20:55:24 +0330

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.

Attachment: 0001-lisp-org-ol.el-org-link-make-description-function-is.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]