[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-remark 1c2f9ed822 46/67: feat: toggle icons
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-remark 1c2f9ed822 46/67: feat: toggle icons |
Date: |
Sat, 22 Jul 2023 06:59:03 -0400 (EDT) |
branch: externals/org-remark
commit 1c2f9ed822de1459c591589d31f92ae2625f54f0
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
feat: toggle icons
---
org-remark.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/org-remark.el b/org-remark.el
index f9a200fc53..456a0a8ca5 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -1428,8 +1428,12 @@ check the current hidden state, thus not interactive.
Use
state."
(when-let ((highlights org-remark-highlights))
(dolist (highlight highlights)
+ ;; Faces
(overlay-put highlight '*org-remark-face (overlay-get highlight 'face))
(overlay-put highlight 'face nil)
+ ;; Icons
+ (overlay-put highlight '*org-remark-icons (overlay-get highlight
'after-string))
+ (overlay-put highlight 'after-string nil)
(overlay-put highlight '*org-remark-hidden t))
(setq org-remark-highlights-hidden t)))
@@ -1441,8 +1445,12 @@ interactive. Use `org-remark-toggle' command to
manually toggle
the show/hide state."
(when-let ((highlights org-remark-highlights))
(dolist (highlight highlights)
+ ;; Faces
(overlay-put highlight '*org-remark-hidden nil)
- (overlay-put highlight 'face (overlay-get highlight '*org-remark-face)))
+ (overlay-put highlight 'face (overlay-get highlight '*org-remark-face))
+ ;; Icons
+ (overlay-put highlight 'after-string (overlay-get highlight
'*org-remark-icons))
+ (overlay-put highlight '*org-remark-icons nil))
(setq org-remark-highlights-hidden nil)))
(defun org-remark-highlights-housekeep ()
- [elpa] externals/org-remark 883f948bbf 66/67: style: make org-remark-highlight-save obsolete and add alias, (continued)
- [elpa] externals/org-remark 883f948bbf 66/67: style: make org-remark-highlight-save obsolete and add alias, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 3216d951fc 09/67: feat: nov.el title and nov-file-name in H1 of the notes, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 81bc062482 10/67: refactor(nov): highlight-save-book-entry, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark eed28d7b8d 26/67: Merge branch 'main' into dev/nov.el, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark e5de684b67 33/67: fix: adjust location of highlight, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 5b76fa930a 49/67: refactor(load): make load process robust., ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark b50d0f7688 52/67: refactor: rename highlights-after-load-hook to -functions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 07f5838c40 61/67: fix: Add headlines in the correct order and in the correct headline, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 6ebbce9239 37/67: fix(load): clear obsolete highlight overlays before loading, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 0ec9d2f1c2 41/67: refactor(headline-add): WIP, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 1c2f9ed822 46/67: feat: toggle icons,
ELPA Syncer <=
- [elpa] externals/org-remark 36df818752 55/67: docs: Update user manaul, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 642d4b489f 13/67: docs: updated NEWS, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 2a10b3d75a 17/67: refactor: adjust-positions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 09d95e7519 20/67: Merge branch 'main' into dev/nov.el, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 52bc575bb9 28/67: docs: comments and docstring, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark e10a00b426 35/67: feat: add icon for highlights with annotation body text #64, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 41f90c53a8 59/67: refactor: Add 'org-remark-string=' for highlight-adjust-positions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 2bd53de493 60/67: refactor: Set fn to hook org-remark-highlights-after-load-functions, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark e1b7a3a1ba 19/67: Merge remote-tracking branch 'sati-bodhi/main' into dev/nov.el, ELPA Syncer, 2023/07/22
- [elpa] externals/org-remark 090156bed2 21/67: feat: org-remark-nov-mode minor mode, ELPA Syncer, 2023/07/22