mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
feat[work]: improve presentation header opening
This commit is contained in:
parent
a2b9cc78b5
commit
3d3e8d450d
3 changed files with 221 additions and 217 deletions
|
|
@ -34038,7 +34038,9 @@ When holding presentations, I think it is important to not have too many distrac
|
|||
(if (and target (< target (point-max)))
|
||||
(progn
|
||||
(goto-char target)
|
||||
(org-fold-show-entry))
|
||||
(org-fold-show-entry)
|
||||
(unless (pos-visible-in-window-p (point-max))
|
||||
(recenter 0)))
|
||||
(org-present-next))))
|
||||
|
||||
#+end_src
|
||||
|
|
|
|||
|
|
@ -1245,7 +1245,9 @@ create a new one."
|
|||
(if (and target (< target (point-max)))
|
||||
(progn
|
||||
(goto-char target)
|
||||
(org-fold-show-entry))
|
||||
(org-fold-show-entry)
|
||||
(unless (pos-visible-in-window-p (point-max))
|
||||
(recenter 0)))
|
||||
(org-present-next))))
|
||||
|
||||
(defun org-babel-execute:markdown (body params)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue