mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 22:07:49 +00:00
Fix deleting a region in a table (part 2)
* lisp/org.el (org-delete-backward-char): Fix deleting a region in a table.
This commit is contained in:
parent
ca7d3bd77c
commit
ab65bc13d6
|
@ -20243,6 +20243,7 @@ because, in this case the deletion might narrow the column."
|
||||||
(org-check-before-invisible-edit 'delete-backward)
|
(org-check-before-invisible-edit 'delete-backward)
|
||||||
(if (and (org-at-table-p)
|
(if (and (org-at-table-p)
|
||||||
(eq N 1)
|
(eq N 1)
|
||||||
|
(not (org-region-active-p))
|
||||||
(string-match "|" (buffer-substring (point-at-bol) (point)))
|
(string-match "|" (buffer-substring (point-at-bol) (point)))
|
||||||
(looking-at ".*?|"))
|
(looking-at ".*?|"))
|
||||||
(let ((pos (point))
|
(let ((pos (point))
|
||||||
|
|
Loading…
Reference in a new issue