[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org fa31598 3/7: org-do-emphasis-faces: Never t
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org fa31598 3/7: org-do-emphasis-faces: Never treat closing marker as next opening marker |
Date: |
Sat, 2 Oct 2021 01:03:29 -0400 (EDT) |
branch: externals-release/org
commit fa315986a115028d289f4921281e44e35842a27b
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-do-emphasis-faces: Never treat closing marker as next opening marker
* lisp/org.el (org-do-emphasis-faces): Make sure that we never match
ending marker of an emphasis as a beginning marker of another
emphasis. For example, in "(~-~) test (~+~)" "~) test (~" is a valid
code match unless we move point to the end the first code emphasis
completely during parsing.
Fixes https://orgmode.org/list/87fsujp7mc.fsf@web.de
---
lisp/org.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/org.el b/lisp/org.el
index 2ec6566..b67329f 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5113,6 +5113,7 @@ stacked delimiters is N. Escaping delimiters is not
possible."
'(invisible t))
(add-text-properties (match-beginning 3) (match-end 3)
'(invisible t)))
+ (goto-char (match-end 0))
(throw :exit t))))))))
(defun org-emphasize (&optional char)
- [elpa] externals-release/org updated (d19660b -> 9cc7f8b), ELPA Syncer, 2021/10/02
- [elpa] externals-release/org e83ee60 2/7: Backport commit d50597189 from Emacs, ELPA Syncer, 2021/10/02
- [elpa] externals-release/org 60b178e 5/7: oc-csl: Locate etc/csl for system installs and Emacs repo, ELPA Syncer, 2021/10/02
- [elpa] externals-release/org fa31598 3/7: org-do-emphasis-faces: Never treat closing marker as next opening marker,
ELPA Syncer <=
- [elpa] externals-release/org d0f774b 4/7: Merge branch 'km/from-emacs-28' into bugfix, ELPA Syncer, 2021/10/02
- [elpa] externals-release/org 9cc7f8b 7/7: etc/csl: Add a README in preparation for Emacs sync, ELPA Syncer, 2021/10/02
- [elpa] externals-release/org 7dcdf98 1/7: Backport commit f1f57a541 from Emacs, ELPA Syncer, 2021/10/02
- [elpa] externals-release/org 0f11a44 6/7: org-cite-csl--etc-dir: Broaden docstring description, ELPA Syncer, 2021/10/02