branch: externals/logos commit 60f7eaf5f7e5f56384f4b5995c91523bae735dbc Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Update Commentary with code sample for Org/Outline --- logos.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/logos.el b/logos.el index 588c45a91c..12fbae7373 100644 --- a/logos.el +++ b/logos.el @@ -65,6 +65,22 @@ ;; ;; (add-hook 'logos-focus-mode-hook #'my-logos--olivetti-mode) ;; +;; To automatically expand contracted Org/Outline headings, use +;; something like: +;; +;; (defun my-logos--reveal () +;; "Reveal Org or Outline entry." +;; (cond +;; ((and (eq major-mode 'org-mode) +;; (org-at-heading-p)) +;; (org-show-entry) +;; (org-reveal t)) +;; ((or (bound-and-true-p prot-outline-minor-mode) +;; (bound-and-true-p outline-minor-mode)) +;; (outline-show-entry)))) +;; +;; (add-hook 'logos-page-motion-hook #'my-logos--reveal) +;; ;; Logos is the familiar word derived from Greek (watch my presentation ;; on philosophy about Cosmos, Logos, and the living universe: ;; <https://protesilaos.com/books/2022-02-05-cosmos-logos-living-universe/>),