[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/toc-org 158934fefd 064/128: Merge pull request #31 from az
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/toc-org 158934fefd 064/128: Merge pull request #31 from azizyemloul/delete-heading-trailing-spaces |
Date: |
Sun, 2 Jan 2022 09:59:10 -0500 (EST) |
branch: elpa/toc-org
commit 158934fefd51e5f7b4564818b343756f7924faeb
Merge: 08ed3f0883 d3d3503b34
Author: Sergei Nosov <sergei.nosov@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #31 from azizyemloul/delete-heading-trailing-spaces
Delete trailing whitespaces from links
---
toc-org.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/toc-org.el b/toc-org.el
index 8a049ad068..6a456d4c20 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -290,6 +290,9 @@ each heading into a link."
(skip-chars-forward " ")
(insert "- ")
+ (save-excursion
+ (delete-trailing-whitespace (point) (line-end-position)))
+
(let* ((beg (point))
(end (line-end-position))
(heading (buffer-substring-no-properties
- [nongnu] elpa/toc-org 3315ef6c96 106/128: Merge pull request #66 from snosov1/enable-toc-org-for-markdown, (continued)
- [nongnu] elpa/toc-org 3315ef6c96 106/128: Merge pull request #66 from snosov1/enable-toc-org-for-markdown, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 9fefa63d42 119/128: Merge pull request #75 from Alexander-Miller/local-offset, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 7ff7abb015 029/128: update documentation on org-toc-2 in the source, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org df4ad6ff15 121/128: Merge pull request #76 from snosov1/revert-75-local-offset, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org c4c61c5a38 117/128: Merge pull request #73 from syohex/correct-sample, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org acca680bc5 098/128: Add somewhat working TOC generation for markdown files, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 0b759818ee 025/128: fix byte-compilation warning, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org a0fd8ffb8a 047/128: make internal linking work with Org 8.3, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 7fae24baa9 030/128: revert org-toc-2 documentation changes, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org af1ffb17c2 050/128: Better toc-org-special-chars-regexp, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 158934fefd 064/128: Merge pull request #31 from azizyemloul/delete-heading-trailing-spaces,
ELPA Syncer <=
- [nongnu] elpa/toc-org a0e8ca05e8 066/128: Merge pull request #33 from iqbalansari/master, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 39fbbda8df 081/128: handle custom keywords specified in the files, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 8dbb3df422 125/128: Fix byte-compiler warning in Emacs 28, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org a3d953a5fa 076/128: Update and clarify primary docstring to explain :noexport:, etc., ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 5a2d7e58dd 028/128: add org-toc-2 alias, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org da99c5d801 023/128: require ert, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 63a0144afa 031/128: fix documentation, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org cfb309e8ab 035/128: fix typo, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 1a213baa8a 048/128: don't alter the type and path if we don't recognize it as a TOC entry, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org d23140d604 056/128: Merge pull request #21 from snosov1/fix-properties-handling, ELPA Syncer, 2022/01/02