diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-17 18:17:39 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-17 18:17:39 +0200 |
commit | ac6b6a45de90bb62d2deac3a8647e9d900814dd8 (patch) | |
tree | 586f1020bb1f5ffd7958ace2cb7542205c05352d | |
parent | 3fb025137b185eb91a5dbd6d0bf37956c70e67fb (diff) | |
parent | 91c68865c644277772028faca96b7ff03541e7cf (diff) | |
download | org-mode-ac6b6a45de90bb62d2deac3a8647e9d900814dd8.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 6144d6c..6a20073 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19881,6 +19881,8 @@ overwritten, and the table is not marked as requiring realignment." (call-interactively 'org-self-insert-command))))) ((and (org-at-table-p) + (eq N 1) + (not (org-region-active-p)) (progn ;; Check if we blank the field, and if that triggers align. (and (featurep 'org-table) org-table-auto-blank-field @@ -19894,7 +19896,6 @@ overwritten, and the table is not marked as requiring realignment." ;; width. (org-table-blank-field))) t) - (eq N 1) (looking-at "[^|\n]* \\( \\)|")) ;; There is room for insertion without re-aligning the table. (delete-region (match-beginning 1) (match-end 1)) |