all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Chris Gregory <czipperz@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Change a while loop into do while
Date: Sat, 31 Dec 2016 13:20:59 +0200	[thread overview]
Message-ID: <83shp4gx9g.fsf@gnu.org> (raw)
In-Reply-To: <87lgv2km1x.fsf@gmail.com> (message from Chris Gregory on Mon, 26 Dec 2016 22:55:54 -0600)

> From: Chris Gregory <czipperz@gmail.com>
> Date: Mon, 26 Dec 2016 22:55:54 -0600
> 
> This patch changes string_from_display_spec (a static function in
> xdisp.c) to use a do while loop instead of a while loop.  The
> precondition is checked by the if statement and is redundant in the
> first iteration.  This redundancy is now removed.

Thanks, pushed to the master branch.

In the future, please provide ChangeLog-style commit log messages with
your changes (I wrote one this time).



  reply	other threads:[~2016-12-31 11:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27  4:55 Change a while loop into do while Chris Gregory
2016-12-31 11:20 ` Eli Zaretskii [this message]
2016-12-31 17:20   ` Paul Eggert
2016-12-31 18:00     ` Eli Zaretskii
2016-12-31 18:51       ` Paul Eggert
2016-12-31 19:18         ` Eli Zaretskii
2016-12-31 20:56           ` Paul Eggert
2016-12-31 20:59             ` Eli Zaretskii
2016-12-31 18:12     ` Eli Zaretskii
2016-12-31 18:31       ` Eli Zaretskii
2016-12-31 18:47         ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83shp4gx9g.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=czipperz@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.