diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-28 09:14:57 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-28 09:14:57 +0200 |
commit | ab65bc13d62359705c48a17b87a7149ec8e75804 (patch) | |
tree | c87b1441bdcf4281c5f4a0a1aca68616d8fb290d | |
parent | ca7d3bd77cb4b6c2ec811a5806aa1f378d9fff8d (diff) | |
download | org-mode-ab65bc13d62359705c48a17b87a7149ec8e75804.tar.gz |
Fix deleting a region in a table (part 2)
* lisp/org.el (org-delete-backward-char): Fix deleting a region in
a table.
-rw-r--r-- | lisp/org.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el index 87758fd..0968d32 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -20243,6 +20243,7 @@ because, in this case the deletion might narrow the column." (org-check-before-invisible-edit 'delete-backward) (if (and (org-at-table-p) (eq N 1) + (not (org-region-active-p)) (string-match "|" (buffer-substring (point-at-bol) (point))) (looking-at ".*?|")) (let ((pos (point)) |