[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/logos feeea154fc 14/25: Tweak glue code samples
From: |
ELPA Syncer |
Subject: |
[elpa] externals/logos feeea154fc 14/25: Tweak glue code samples |
Date: |
Fri, 11 Mar 2022 08:58:01 -0500 (EST) |
branch: externals/logos
commit feeea154fc746c0385a7f8e9f4806b0c8a413063
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Tweak glue code samples
---
README.org | 5 ++---
logos.el | 37 ++++++++++++++++++-------------------
2 files changed, 20 insertions(+), 22 deletions(-)
diff --git a/README.org b/README.org
index 54d650e1ea..caebb1373e 100644
--- a/README.org
+++ b/README.org
@@ -230,9 +230,8 @@ changes out-of-the-box:
(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))))
+ ((bound-and-true-p outline-minor-mode))
+ (outline-show-entry)))
(add-hook 'logos-page-motion-hook #'my-logos--reveal)
#+end_src
diff --git a/logos.el b/logos.el
index 12fbae7373..cfea641627 100644
--- a/logos.el
+++ b/logos.el
@@ -56,30 +56,29 @@
;; To position the buffer in the center of the window, use the
;; `olivetti' package by Paul W. Rankin. Sample glue code:
;;
-;; (defun my-logos--olivetti-mode ()
-;; "Toggle `olivetti-mode'."
-;; (if (or (bound-and-true-p olivetti-mode)
-;; (null (logos--focus-p)))
-;; (olivetti-mode -1)
-;; (olivetti-mode 1)))
-;;
-;; (add-hook 'logos-focus-mode-hook #'my-logos--olivetti-mode)
+;; (defun my-logos--olivetti-mode ()
+;; "Toggle `olivetti-mode'."
+;; (if (or (bound-and-true-p olivetti-mode)
+;; (null (logos--focus-p)))
+;; (olivetti-mode -1)
+;; (olivetti-mode 1)))
+;;
+;; (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))))
+;; (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))
+;; ((bound-and-true-p outline-minor-mode))
+;; (outline-show-entry)))
;;
-;; (add-hook 'logos-page-motion-hook #'my-logos--reveal)
+;; (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:
- [elpa] externals/logos 88b2a7ca61 11/25: Tweak sample code for local variables, (continued)
- [elpa] externals/logos 88b2a7ca61 11/25: Tweak sample code for local variables, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 69cabed870 09/25: Run hook after page motion, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 230828bd2e 16/25: Rewrite the manual, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 86ec38e795 19/25: Clarify manual's wording about outline regexp, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 90ec28cd10 21/25: Delete trailing parenthesis, ELPA Syncer, 2022/03/11
- [elpa] externals/logos dc52fc3f04 25/25: Merge redundant make-variable-buffer-local calls into defcustom, ELPA Syncer, 2022/03/11
- [elpa] externals/logos af80df635c 18/25: Apply outline to derived modes, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 45c90aa845 02/25: Tweak manual's title, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 19b18f1ab4 07/25: Add node on manul installation, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 7176d43377 15/25: Update Commentary; clarify logos-focus-mode docs, ELPA Syncer, 2022/03/11
- [elpa] externals/logos feeea154fc 14/25: Tweak glue code samples,
ELPA Syncer <=
- [elpa] externals/logos d29b99c051 23/25: Clarify description and update docs, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 6c2b3acb6b 24/25: Update change log for version 0.1.0, ELPA Syncer, 2022/03/11