[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-matchit fb04ffae4b 176/244: Treat source blocks label
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-matchit fb04ffae4b 176/244: Treat source blocks labelled as "elisp". |
Date: |
Thu, 6 Jan 2022 02:58:59 -0500 (EST) |
branch: elpa/evil-matchit
commit fb04ffae4b92da0644e2953a1301b6db3d814d5e
Author: Brian Leung <bkleung89@gmail.com>
Commit: Brian Leung <bkleung89@gmail.com>
Treat source blocks labelled as "elisp".
There is no 'elisp-mode, so we special-case this.
---
evil-matchit-org.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/evil-matchit-org.el b/evil-matchit-org.el
index 5d73e8037c..0372e64dd5 100644
--- a/evil-matchit-org.el
+++ b/evil-matchit-org.el
@@ -62,7 +62,9 @@ between '\\(' and '\\)' in regular expression.
;; org-element-at-point is available only at org7+
(let ((lang (evilmi--element-property :language (org-element-at-point))))
(when lang
- (intern (concat lang "-mode")))))
+ (if (string= lang "elisp")
+ 'emacs-lisp-mode
+ (intern (concat lang "-mode"))))))
;;;###autoload
(defun evilmi-org-get-tag ()
- [nongnu] elpa/evil-matchit 277623d8be 116/244: support css/less/scss, (continued)
- [nongnu] elpa/evil-matchit 277623d8be 116/244: support css/less/scss, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4101ee2432 130/244: handle 'switch' in C properly, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 69299108fd 120/244: Add sig/end matching for ocaml, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 50bb882419 132/244: support elixir, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit e15ad8406b 155/244: Merge pull request #95 from linchen2chris/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit a8a8625fc2 144/244: Merge pull request #90 from Khady/patch-2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 11f57d8f52 142/244: Merge pull request #89 from Khady/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit f471bc97bd 137/244: tsx needs jsx support as well, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0d463ab3da 172/244: Ocaml: add normal parentheses support, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 5cea6fde1c 162/244: clean code and wording, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit fb04ffae4b 176/244: Treat source blocks labelled as "elisp".,
ELPA Syncer <=
- [nongnu] elpa/evil-matchit b00671fb9e 186/244: Mark evilmi-jump-items as a jump motion, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit ea1e867129 181/244: support more ruby syntax, thanks to @kriansa, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 9ef1325305 200/244: wording, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 86daa28dbd 201/244: doc, minor regex issue, tdd for lua, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 437f67689c 203/244: fix f90-mode bug, add fortran unit test, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8c8c94bea8 231/244: fixed ci, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 96a1aba323 210/244: Add ocaml tests, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 9cd0ddaacb 233/244: can jump between quotes in plain text, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 539192328e 215/244: fixed minor bug #127, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 23a0576255 213/244: fixed: can not jump tag from prompt line in shell-mode sometimes, ELPA Syncer, 2022/01/06