From be4a1d714e48267dfaac06e99184040242880754 Mon Sep 17 00:00:00 2001 From: Deniz Dogan Date: Wed, 16 Feb 2011 22:06:23 +0100 Subject: [PATCH] * lisp/simple.el (just-one-space): Remove useless `or' call. --- lisp/ChangeLog | 4 ++++ lisp/simple.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d8831d56c0e..3b8354c9b0f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-02-16 Deniz Dogan + + * simple.el (just-one-space): Remove useless `or' call. + 2011-02-16 Alex Harsanyi * soap-client.el (soap-well-known-xmlns, soap-local-xmlns) diff --git a/lisp/simple.el b/lisp/simple.el index 4d2a0e69836..531c9212e34 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -778,7 +778,7 @@ If N is negative, delete newlines as well." (n (abs n))) (skip-chars-backward skip-characters) (constrain-to-field nil orig-pos) - (dotimes (i (or n 1)) + (dotimes (i n) (if (= (following-char) ?\s) (forward-char 1) (insert ?\s))) -- 2.39.5