diff --git a/gptel.el b/gptel.el index a3da9fd..7587082 100644 --- a/gptel.el +++ b/gptel.el @@ -557,6 +557,7 @@ Note: This will move the cursor." "Move point to the end of the LLM response ARG times." (interactive (list nil nil (prefix-numeric-value current-prefix-arg))) + (unless arg (setq arg 1)) (let ((search (if (> arg 0) #'text-property-search-forward #'text-property-search-backward)))