fix(docs): don't hide src blocks indiscriminately

This commit is contained in:
Henrik Lissner 2022-02-01 23:44:52 +01:00
parent bfa90e82e9
commit c4b7071397
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -99,7 +99,8 @@
(goto-char (org-babel-result-end))
(skip-chars-forward "\n")
(point))))))
(org-flag-region beg end doom-docs-mode t)))
(unless (member exports '(nil "both" "code" "t"))
(org-flag-region beg end doom-docs-mode t))))
(unless doom-docs-mode
(save-excursion
(dolist (pos doom--docs-babel-cache)