[Timeline] More error checking when trying to kill a line

This commit is contained in:
Daniel - 2018-11-28 16:17:37 +01:00
parent 325ccc58ea
commit d54079d660
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 2 additions and 0 deletions

View File

@ -511,6 +511,8 @@ Interactively query for the exact value of \"short\"."
(save-mark-and-excursion
;; get actual entry from headline of line
(end-of-line)
(unless (looking-back " |$")
(user-error "Not in table."))
(org-table-previous-field)
(let ((entry (get-text-property (point) 'entry)))
(unless entry