[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/markdown-mode d917e71 1/8: extend markdown-do to follow li
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/markdown-mode d917e71 1/8: extend markdown-do to follow links |
Date: |
Thu, 21 Oct 2021 20:57:50 -0400 (EDT) |
branch: elpa/markdown-mode
commit d917e71a51044e8b637ba05cbfe5fb74c3ec99c9
Author: Eric Drechsel <eric@pdxhub.org>
Commit: Eric Drechsel <eric@pdxhub.org>
extend markdown-do to follow links
motivation: spacemacs and others bind <RET> to
markdown-do in evil normal mode. with this change links
can also be followed with enter.
---
markdown-mode.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/markdown-mode.el b/markdown-mode.el
index 2b0794c..64acb15 100644
--- a/markdown-mode.el
+++ b/markdown-mode.el
@@ -8222,6 +8222,9 @@ Jumps between reference links and definitions; between
footnote
markers and footnote text."
(interactive)
(cond
+ ;; Link
+ ((or (markdown-link-p) (markdown-wiki-link-p))
+ (markdown-follow-thing-at-point nil))
;; Footnote definition
((markdown-footnote-text-positions)
(markdown-footnote-return))
- [nongnu] elpa/markdown-mode updated (7360efc -> c3c2f0d), ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode d917e71 1/8: extend markdown-do to follow links,
ELPA Syncer <=
- [nongnu] elpa/markdown-mode fc729ea 2/8: WIP: fix+add tests for markdown-do link jump, ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode 799a8e9 3/8: Fix tests, ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode 0a9ee2b 4/8: Update Changes, ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode 1c459f7 7/8: Merge pull request #667 from jrblevin/markdown-do-follow-links, ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode 981e48c 5/8: Test following wiki link to nonexistent file works, ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode bf7c4d8 6/8: Update CHANGES.md, ELPA Syncer, 2021/10/21
- [nongnu] elpa/markdown-mode c3c2f0d 8/8: Merge pull request #668 from edrex/test-wiki-link-follow-new-file, ELPA Syncer, 2021/10/21