From 90a2684641e97241d32c413e197e296a2f371a74 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 2 Oct 2025 16:19:31 +0200 Subject: [PATCH] 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. --- site-lisp/timeline-tools.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-lisp/timeline-tools.el b/site-lisp/timeline-tools.el index e3f5390..9c320ca 100644 --- a/site-lisp/timeline-tools.el +++ b/site-lisp/timeline-tools.el @@ -679,7 +679,7 @@ Updates category properties before constructing the new timeline." ;; current line by ourselves (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)))) (timeline-tools-redraw-timeline)