summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-05-20 23:05:59 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-05-20 23:05:59 +0200
commita5f83857c129a645c9921c9edcdaa9eb316c6488 (patch)
tree86b4b62db2a7eb940a3955b70ef76bdc6357b4b1
parente234643d92c92e61ce98c5db1bc5394c35a72eb6 (diff)
parent1d2f52f4875a2aa82bad27f1f0a52e4dc6eddce1 (diff)
downloadorg-mode-a5f83857c129a645c9921c9edcdaa9eb316c6488.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-table.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index c6a84b8..fb3d48a 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -4564,11 +4564,9 @@ overwritten, and the table is not marked as requiring realignment."
(org-table-blank-field))
t)
(eq N 1)
- (looking-at "[^|\n]* +|"))
+ (looking-at "[^|\n]* \\( \\)|"))
(let (org-table-may-need-update)
- (goto-char (1- (match-end 0)))
- (org-delete-backward-char 1)
- (goto-char (match-beginning 0))
+ (delete-region (match-beginning 1) (match-end 1))
(self-insert-command N))
(setq org-table-may-need-update t)
(let* (orgtbl-mode