branch: externals/org commit 050d094c4152a35ca0f4b9175f0d9ef9cda805c0 Merge: 4611c2b7a7 0ea6bce372 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
Merge branch 'bugfix' --- testing/lisp/test-org-fold.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/testing/lisp/test-org-fold.el b/testing/lisp/test-org-fold.el index 809738f6c2..a3ad7d7e32 100644 --- a/testing/lisp/test-org-fold.el +++ b/testing/lisp/test-org-fold.el @@ -551,6 +551,9 @@ Text here" (org-overview) (org-set-property "TEST" "1") (re-search-forward "TEST") + ;; In Emacs must not handle visibility changes inside change + ;; functions. + (run-hooks 'post-command-hook) (should (org-invisible-p))) (org-test-with-temp-text "* Heading 1<point> @@ -558,6 +561,9 @@ Text here" (org-overview) (insert " and extra heading text") (re-search-backward "heading") + ;; In Emacs must not handle visibility changes inside change + ;; functions. + (run-hooks 'post-command-hook) (should-not (org-invisible-p))) (org-test-with-temp-text "* Heading 1 @@ -565,6 +571,9 @@ Text<point> here" (org-overview) (insert " and extra text") (re-search-backward "extra") + ;; In Emacs must not handle visibility changes inside change + ;; functions. + (run-hooks 'post-command-hook) (should (org-invisible-p))))