[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-present 1af324f54f 13/47: hide emphasis markers when p
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-present 1af324f54f 13/47: hide emphasis markers when presenting |
Date: |
Sat, 8 Jan 2022 13:58:29 -0500 (EST) |
branch: elpa/org-present
commit 1af324f54f8b0ede9f060069111c7c0e7487dc5e
Author: Fredrik Appelberg <fredrik.appelberg@gmail.com>
Commit: Fredrik Appelberg <fredrik.appelberg@gmail.com>
hide emphasis markers when presenting
---
org-present.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/org-present.el b/org-present.el
index 0afd3e66f5..ae462cdc07 100644
--- a/org-present.el
+++ b/org-present.el
@@ -153,7 +153,12 @@
;; hide stars in headings
(goto-char (point-min))
(while (re-search-forward "^\\(*+\\)" nil t)
- (org-present-add-overlay (match-beginning 1) (match-end 1)))))
+ (org-present-add-overlay (match-beginning 1) (match-end 1)))
+ ;; hide emphasis markers
+ (goto-char (point-min))
+ (while (re-search-forward org-emph-re nil t)
+ (org-present-add-overlay (match-beginning 2) (1+ (match-beginning 2)))
+ (org-present-add-overlay (1- (match-end 2)) (match-end 2)))))
(defun org-present-rm-overlays ()
"Remove overlays for this mode."
- [nongnu] branch elpa/org-present created (now 7e56ab02b4), ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present aa3db6540a 02/47: readme and code, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 24591087a8 07/47: fix export options bug; show title page instead of toc, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 69402c3b06 01/47: first commit, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 78d82edf35 05/47: add read-only and read-write modes, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 1f264070dc 03/47: overlays for stars in headers, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 1af324f54f 13/47: hide emphasis markers when presenting,
ELPA Syncer <=
- [nongnu] elpa/org-present 8ee4008b83 19/47: detect last slide and go to top of slide before narrow, so we do not, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 1eafeaf19c 17/47: Merge pull request #6 from jaseemabid/master, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 8148e5245e 22/47: mention fullscreen now builtin, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 00679dc2b0 32/47: Merge pull request #19 from damil/master, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present b2e3b19cbc 35/47: Move org-present-narrow to be called after org-present-mode-hooks to make sure images are shown inline in all slides, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 6c57386522 36/47: Fixed that read-only function erase cursor, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 236691956d 06/47: remove some debug messages, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 80eb28f2a2 10/47: Merge pull request #2 from tarsius/master, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 71486291da 12/47: Merge pull request #3 from purcell/patch-1, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 194262bdb0 09/47: provide feature, ELPA Syncer, 2022/01/08