Fix deleting of entries in timelines when not at beginning of line
When not at bol, the cursor would only jump to the beginning of the line instead of killing it, because `kill-line` only deletes the rest of the line. Use `kill-whole-line` instead.
This commit is contained in:
parent
b37fd1202f
commit
90a2684641
@ -679,7 +679,7 @@ Updates category properties before constructing the new timeline."
|
|||||||
;; current line by ourselves
|
;; current line by ourselves
|
||||||
|
|
||||||
(if (timeline-tools--get-entry-from-point) ; barfs if there's no entry
|
(if (timeline-tools--get-entry-from-point) ; barfs if there's no entry
|
||||||
(kill-line))
|
(kill-whole-line))
|
||||||
|
|
||||||
(let ((linenum (line-number-at-pos (point))))
|
(let ((linenum (line-number-at-pos (point))))
|
||||||
(timeline-tools-redraw-timeline)
|
(timeline-tools-redraw-timeline)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user