branch: elpa/dslide commit aa9c8bcfa91ab3edfef29dceface32c12a59c865 Author: Psionik K <73710933+psioni...@users.noreply.github.com> Commit: Psionik K <73710933+psioni...@users.noreply.github.com>
downgrade reporting weird progress values from warning to message and don't do anything when it's just a boolean t Signed-off-by: Psionik K <73710933+psioni...@users.noreply.github.com> --- dslide.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dslide.el b/dslide.el index 40447f62f1..c398aebcad 100644 --- a/dslide.el +++ b/dslide.el @@ -2536,8 +2536,8 @@ PROGRESS must be an integer buffer location, not a marker." ((eieio-object-p progress) (marker-position (oref progress begin))) ((markerp progress) (marker-position progress))))) - (when (null pos) - (warn "Progress was null! %s" progress)) + (when (and (not (booleanp progress)) (null pos)) + (message "Incomprehensible progress reported: %s" progress)) (when (and pos dslide-base-follows-slide) (set-buffer (oref dslide--deck base-buffer)) (unless (and (>= pos (point-min))