mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-02-02 20:55:13 +00:00
ox-ascii: Small refactoring
* lisp/ox-ascii.el (org-ascii--describe-links): Small refactoring.
This commit is contained in:
parent
602fca424d
commit
3135d24239
@ -929,11 +929,7 @@ channel."
|
||||
((not (org-element-contents link)) nil)
|
||||
;; Do not add a link already handled by custom export
|
||||
;; functions.
|
||||
((let ((protocol (nth 2 (assoc type org-link-protocols)))
|
||||
(path (org-element-property :path link)))
|
||||
(and (functionp protocol)
|
||||
(funcall protocol (org-link-unescape path) anchor 'ascii)))
|
||||
nil)
|
||||
((org-export-custom-protocol-maybe link anchor 'ascii) nil)
|
||||
(t
|
||||
(concat
|
||||
(org-ascii--fill-string
|
||||
|
Loading…
x
Reference in New Issue
Block a user