branch: externals/boxy-headings commit 66fc9e50f02d6dee546fa6923ca28f1f64db9065 Author: Tyler Grinn <tylergr...@gmail.com> Commit: Tyler Grinn <tylergr...@gmail.com>
Added post-jump-hook Added post-jump-hook as org-reveal --- boxy-headings.el | 3 ++- deps/boxy | 2 +- tests/smoke.org | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/boxy-headings.el b/boxy-headings.el index 065f4fe54e..c25137ab1a 100644 --- a/boxy-headings.el +++ b/boxy-headings.el @@ -3,7 +3,7 @@ ;; Copyright (C) 2021 Free Software Foundation, Inc. ;; Author: Tyler Grinn <tylergr...@gmail.com> -;; Version: 2.1.2 +;; Version: 2.1.3 ;; File: boxy-headings.el ;; Package-Requires: ((emacs "26.1") (boxy "1.0") (org "9.4")) ;; Keywords: tools @@ -277,6 +277,7 @@ diagram." columns "\n") :markers (list (set-marker (point-marker) pos)) + :post-jump-hook 'org-reveal :in-front (string= rel "in front of") :on-top (string= rel "on top of") :y-order (cond diff --git a/deps/boxy b/deps/boxy index 888e78ce58..68b1c6db7b 160000 --- a/deps/boxy +++ b/deps/boxy @@ -1 +1 @@ -Subproject commit 888e78ce58c5f217c84345b02a5aafd4c9a871b5 +Subproject commit 68b1c6db7bb585e5942ab2e12765cf80cfcfb619 diff --git a/tests/smoke.org b/tests/smoke.org index 89ab0d7f70..f7f94cfc86 100644 --- a/tests/smoke.org +++ b/tests/smoke.org @@ -2,6 +2,13 @@ #+TODO: FAIL | PASS * PASS Smoke test + :PROPERTIES: + :MARGIN-Y: 1 + :MARGIN-X: 2 + :PADDING-Y: 1 + :PADDING-X: 2 + :END: + #+begin_src org ,* Above :PROPERTIES: @@ -63,6 +70,12 @@ #+end_example * PASS Compat test + :PROPERTIES: + :MARGIN-Y: 1 + :MARGIN-X: 2 + :PADDING-Y: 1 + :PADDING-X: 2 + :END: Check that the old instructions for REL still work #+begin_src org ,* Above @@ -125,6 +138,12 @@ #+end_example * PASS Children test + :PROPERTIES: + :MARGIN-Y: 1 + :MARGIN-X: 2 + :PADDING-Y: 1 + :PADDING-X: 2 + :END: #+begin_src org ,* test ,** Above