diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-12-04 16:53:39 -0800 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-12-04 21:19:51 -0500 |
commit | 9c5174e2356d4a6dd9a0c1d17ca937a50a52d294 (patch) | |
tree | d45b3c9f28836ec0ee88e0ffed2a1bd743532b3b | |
parent | 18ddc6436255d34f8c67be9a4f6f970a50f583b9 (diff) | |
download | org-mode-9c5174e2356d4a6dd9a0c1d17ca937a50a52d294.tar.gz |
Backport commit ab612302b from Emacs
* lisp/org-table.el (org-table-wrap-region): Avoid
repetition-of-repetition in regexp.
Fix regex repetition of repetitions
ab612302b4917fec5846922f3d8ffafa673c0d36
Paul Eggert
Wed Dec 4 16:54:24 2019 -0800
-rw-r--r-- | lisp/org-table.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el index a21587a..5f42db5 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -4642,7 +4642,7 @@ blank, and the content is appended to the field above." (skip-chars-backward " ") (insert " " (org-trim s)) (org-table-align))) - ((looking-at "\\([^|]+\\)+|") ; Split field. + ((looking-at "\\([^|]+\\)|") ; Split field. (let ((s (match-string 1))) (replace-match " |") (goto-char (match-beginning 0)) |