[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/toc-org ac2c33dcf8 055/128: remove unnecessary spaces
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/toc-org ac2c33dcf8 055/128: remove unnecessary spaces |
Date: |
Sun, 2 Jan 2022 09:59:09 -0500 (EST) |
branch: elpa/toc-org
commit ac2c33dcf8d553a5bbb5773082d77f0ba272b5c5
Author: Sergei Nosov <sergei.nosov@gmail.com>
Commit: Sergei Nosov <sergei.nosov@gmail.com>
remove unnecessary spaces
---
toc-org.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/toc-org.el b/toc-org.el
index 0a85ebdeef..389cb4fc05 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -362,11 +362,12 @@ following tag formats:
(newline (forward-line 1))
;; skip drawers
- (while (re-search-forward toc-org-drawer-regexp
- (save-excursion ;; limit to next
heading
- (search-forward-regexp "^\\*"
(point-max) t))
- t)
- (skip-chars-forward "[:space:]"))
+ (let ((end
+ (save-excursion ;; limit to next heading
+ (search-forward-regexp "^\\*" (point-max) t))))
+ (while (re-search-forward toc-org-drawer-regexp end t)
+ (skip-chars-forward "[:space:]")))
+ (beginning-of-line)
;; insert newline if TOC is currently empty
(when (looking-at "^\\*")
- [nongnu] elpa/toc-org 49e3bcb8db 009/128: update readme with different href styles, (continued)
- [nongnu] elpa/toc-org 49e3bcb8db 009/128: update readme with different href styles, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org c3a549fd96 012/128: add a couple of tests, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 9c5861ceee 004/128: add parent group to fix compilation warning, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 91670bcc41 014/128: add badges, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 8364e88da3 015/128: fix travis badge, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 381abe6c52 032/128: add a renaming note, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 99195a69fd 036/128: update MELPA badge, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 14daed1a53 040/128: make C-c C-o work with any href style, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 3421f6192d 038/128: add a rename note to the commentary, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org f345f768cb 051/128: Merge pull request #13 from JAremko/master, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ac2c33dcf8 055/128: remove unnecessary spaces,
ELPA Syncer <=
- [nongnu] elpa/toc-org 1d52ece078 016/128: another fix to travis badge, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org fdfb7574dc 068/128: fix travis build, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 40c6754d9f 083/128: replacs string-join with mapconcat, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 356b3fbb89 101/128: Define fake markdown mode in tests, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 2c4ff18a4e 092/128: document quote functionality, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 4315afd2a4 095/128: fix readme, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org cf4a624b78 122/128: Add license file with GPLv3, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 2539b4be40 097/128: add test for parenthesis in custom TODO words declaration, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org f13f79737a 020/128: Wrap test call with `(eval-after-load "ert-autoloads"...), ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org e9cf57041a 008/128: fix heading regexp, ELPA Syncer, 2022/01/02