From: Tassilo Horn Date: Mon, 16 May 2022 12:26:29 +0000 (+0200) Subject: ; Fix Wrong type argument: number-or-marker-p, (4) in cycle-spacing X-Git-Tag: emacs-29.0.90~1910^2~644 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a6e727ddb155e6d4210bc7b7a30cf8933d556c8;p=emacs.git ; Fix Wrong type argument: number-or-marker-p, (4) in cycle-spacing --- diff --git a/lisp/simple.el b/lisp/simple.el index ccf696901bd..71c99a442df 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1295,8 +1295,8 @@ doing any other command before the next \\[cycle-spacing]." ((eq '- arg) '-) (t context-n))) (numeric-n (prefix-numeric-value actual-n)) - (include-newlines (and actual-n - (or (eq actual-n '-) + (include-newlines (or (eq actual-n '-) + (and (integerp actual-n) (< actual-n 0))))) (cond ((eq actual-action 'just-one-space)