emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dslide 10b1386cf4 03/16: Hide the newline after each affil


From: ELPA Syncer
Subject: [nongnu] elpa/dslide 10b1386cf4 03/16: Hide the newline after each affiliated keyword
Date: Mon, 25 Nov 2024 01:00:01 -0500 (EST)

branch: elpa/dslide
commit 10b1386cf45fab6091aa8cb6b0e8dbe70864e90c
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>

    Hide the newline after each affiliated keyword
    
    They are guaranteed to have them and they throw off formatting by leaving 
empty spacen
---
 dslide.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dslide.el b/dslide.el
index a8b8235b50..5bdca7e022 100644
--- a/dslide.el
+++ b/dslide.el
@@ -1256,7 +1256,7 @@ for `dslide-contents-map'.")
         (goto-char (oref obj begin))
         (while (re-search-forward org-keyword-regexp bound t)
           (let ((overlay (make-overlay (match-beginning 0)
-                                       (match-end 0))))
+                                       (min (1+ (match-end 0)) (point-max)) )))
             (overlay-put overlay 'invisible t)
             (push dslide-overlays overlay)))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]