From 5a1deece01a57849e672716c5af3ecbe4bca92c5 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 2 Oct 2022 11:05:30 -0400 Subject: Don't lose the last talk --- emacsconf.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacsconf.el') diff --git a/emacsconf.el b/emacsconf.el index 39a1426..9010bb8 100644 --- a/emacsconf.el +++ b/emacsconf.el @@ -684,8 +684,8 @@ Talks with a FIXED_TIME property are not moved." (1+ (seq-position info start (lambda (o match) (string-match match (plist-get o :title))))) (if end - (1- (seq-position info end - (lambda (o match) (string-match match (plist-get o :title))))) + (seq-position info end + (lambda (o match) (string-match match (plist-get o :title)))) (length info)))) ;;; Embark -- cgit v1.2.3