[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-translate fa6f26d: Fix bum use of regexp-opt; relea
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/org-translate fa6f26d: Fix bum use of regexp-opt; release 0.1.3 |
Date: |
Wed, 9 Dec 2020 20:16:10 -0500 (EST) |
branch: externals/org-translate
commit fa6f26ddb6dcefa24df3a300c5f8f038dac80658
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Fix bum use of regexp-opt; release 0.1.3
* org-translate.el (ogt-highlight-source-segment): That's not how you
call it.
---
org-translate.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/org-translate.el b/org-translate.el
index 21ef5ac..243c1ab 100644
--- a/org-translate.el
+++ b/org-translate.el
@@ -2,7 +2,7 @@
;; Copyright (C) 2020 Free Software Foundation, Inc.
-;; Version: 0.1.2
+;; Version: 0.1.3
;; Package-Requires: ((emacs "25.1") (org "9.1"))
;; Author: Eric Abrahamsen <eric@ericabrahamsen.net>
@@ -529,9 +529,10 @@ and applies a highlight to the appropriate segment of
text."
(point))
(progn
(or (and (re-search-forward
- (regexp-opt (string ogt-segmentation-character)
- "\n\n"
- org-heading-regexp)
+ (regexp-opt
+ (list (string ogt-segmentation-character)
+ "\n\n"
+ org-heading-regexp))
nil t)
(progn
(backward-char)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org-translate fa6f26d: Fix bum use of regexp-opt; release 0.1.3,
Eric Abrahamsen <=