diff options
author | Kyle Meyer <kyle@kyleam.com> | 2022-12-10 16:59:46 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2022-12-10 16:59:46 -0500 |
commit | 01154166057e7cf289318a8cfa4d43716f26ca20 (patch) | |
tree | 79dcc7b1c12e53ae852ae556541931fdd1a7ae66 /lisp/org/ol.el | |
parent | 26a8644a58768281bae249121f4f18d7b0661c44 (diff) | |
download | emacs-01154166057e7cf289318a8cfa4d43716f26ca20.tar.gz emacs-01154166057e7cf289318a8cfa4d43716f26ca20.tar.bz2 emacs-01154166057e7cf289318a8cfa4d43716f26ca20.zip |
Update to Org 9.6-31-g954a95
Diffstat (limited to 'lisp/org/ol.el')
-rw-r--r-- | lisp/org/ol.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org/ol.el b/lisp/org/ol.el index cd52e9cf4df..3ae8f887554 100644 --- a/lisp/org/ol.el +++ b/lisp/org/ol.el @@ -1488,9 +1488,9 @@ If the link is in hidden text, expose it." (defun org-link-descriptive-ensure () "Toggle the literal or descriptive display of links in current buffer if needed." - (if org-link-descriptive - (org-fold-core-set-folding-spec-property (car org-link--link-folding-spec) :visible nil) - (org-fold-core-set-folding-spec-property (car org-link--link-folding-spec) :visible t))) + (org-fold-core-set-folding-spec-property + (car org-link--link-folding-spec) + :visible (not org-link-descriptive))) ;;;###autoload (defun org-toggle-link-display () |