Fix empty unless block

Oops.
This commit is contained in:
Daniel Borchmann 2025-10-02 16:20:31 +02:00
parent 90a2684641
commit 4697c53197
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -558,7 +558,8 @@ Errors out if there is no entry on the current line, unless
NOERROR is non-nil; in that case, return nil when no text NOERROR is non-nil; in that case, return nil when no text
property could be found (note that this can also happen if point property could be found (note that this can also happen if point
is outside of the current table)." is outside of the current table)."
(unless (derived-mode-p 'timeline-tools-mode)) (unless (derived-mode-p 'timeline-tools-mode)
(user-error "Not in timeline-tools-mode"))
(save-mark-and-excursion (save-mark-and-excursion
(if (not (org-at-table-p)) (if (not (org-at-table-p))
(if noerror nil (user-error "Not in table")) (if noerror nil (user-error "Not in table"))