emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103303: * lisp/simple.el (just-one-s


From: Deniz Dogan
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103303: * lisp/simple.el (just-one-space): Remove useless `or' call.
Date: Wed, 16 Feb 2011 22:06:23 +0100
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103303
committer: Deniz Dogan <address@hidden>
branch nick: emacs-trunk
timestamp: Wed 2011-02-16 22:06:23 +0100
message:
  * lisp/simple.el (just-one-space): Remove useless `or' call.
modified:
  lisp/ChangeLog
  lisp/simple.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-02-16 19:56:31 +0000
+++ b/lisp/ChangeLog    2011-02-16 21:06:23 +0000
@@ -1,3 +1,7 @@
+2011-02-16  Deniz Dogan  <address@hidden>
+
+       * simple.el (just-one-space): Remove useless `or' call.
+
 2011-02-16  Alex Harsanyi  <address@hidden>
 
        * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2011-02-12 23:40:43 +0000
+++ b/lisp/simple.el    2011-02-16 21:06:23 +0000
@@ -778,7 +778,7 @@
         (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)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]