diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-09-15 09:51:56 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-09-15 09:51:56 +0200 |
commit | 354461be8f41a5585dc2678a2a7d2e425632407e (patch) | |
tree | 861d80972ebf3542734f7e40053352090ac4b5a1 | |
parent | e6021bc9b18982b30dd61417d98276b2984892cd (diff) | |
parent | 10ed4994f59905d82e0ed3150256898f3648501b (diff) | |
download | org-mode-354461be8f41a5585dc2678a2a7d2e425632407e.tar.gz |
Merge branch 'maint' into master
-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 ed6e203..a3c4987 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -935,7 +935,7 @@ lines. It can have the following values: - regexp When a regular expression, use it to match the separator." (interactive "f\nP") (when (and (called-interactively-p 'any) - (not (string-match-p "\.\\(?:[tc]sv\\|txt\\)$" file))) + (not (string-match-p (rx "." (or "txt" "tsv" "csv") eos) file))) (user-error "Cannot import such file")) (unless (bolp) (insert "\n")) (let ((beg (point)) |