From: Deniz Dogan Date: Wed, 16 Feb 2011 21:06:23 +0000 (+0100) Subject: * lisp/simple.el (just-one-space): Remove useless `or' call. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~851 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be4a1d714e48267dfaac06e99184040242880754;p=emacs.git * lisp/simple.el (just-one-space): Remove useless `or' call. --- 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)))