[Timeline] More error checking when trying to kill a line
This commit is contained in:
parent
325ccc58ea
commit
d54079d660
|
@ -511,6 +511,8 @@ Interactively query for the exact value of \"short\"."
|
||||||
(save-mark-and-excursion
|
(save-mark-and-excursion
|
||||||
;; get actual entry from headline of line
|
;; get actual entry from headline of line
|
||||||
(end-of-line)
|
(end-of-line)
|
||||||
|
(unless (looking-back " |$")
|
||||||
|
(user-error "Not in table."))
|
||||||
(org-table-previous-field)
|
(org-table-previous-field)
|
||||||
(let ((entry (get-text-property (point) 'entry)))
|
(let ((entry (get-text-property (point) 'entry)))
|
||||||
(unless entry
|
(unless entry
|
||||||
|
|
Loading…
Reference in New Issue
Block a user