branch: externals/org commit d2775da08dc72df096de682edf32122e9366628e Author: Ihor Radchenko <yanta...@gmail.com> Commit: Ihor Radchenko <yanta...@gmail.com>
test-ol/org-toggle-link-display: Fix compatibility with old Emacs * testing/lisp/test-ol.el (test-ol/org-toggle-link-display): Use back-compatible `org-xor' instead of `xor'. --- testing/lisp/test-ol.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/lisp/test-ol.el b/testing/lisp/test-ol.el index 343631623b..429bb52ee9 100644 --- a/testing/lisp/test-ol.el +++ b/testing/lisp/test-ol.el @@ -59,19 +59,19 @@ See https://github.com/yantar92/org/issues/4." (dotimes (_ 2) (goto-char 1) (re-search-forward "\\[") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "example") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "com") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "]") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "\\[") (should-not (org-invisible-p)) (re-search-forward "link") (should-not (org-invisible-p)) (re-search-forward "]") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (org-toggle-link-display)))))