From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Redundant if clause in xdisp.c? Date: Sat, 29 Aug 2009 10:16:17 -0400 Message-ID: <87r5uu7lji.fsf@cyd.mit.edu> References: <8363c6bxef.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251555546 20342 80.91.229.12 (29 Aug 2009 14:19:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Aug 2009 14:19:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 29 16:19:00 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MhOlg-0007Pd-9h for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 16:19:00 +0200 Original-Received: from localhost ([127.0.0.1]:51835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhOlf-0005Xo-IK for ged-emacs-devel@m.gmane.org; Sat, 29 Aug 2009 10:18:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhOi2-0004Ke-Ql for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:15:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhOhx-0004Hv-PE for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:15:13 -0400 Original-Received: from [199.232.76.173] (port=39276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhOhx-0004Ho-JB for emacs-devel@gnu.org; Sat, 29 Aug 2009 10:15:09 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:52952) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MhOhv-0004z1-8M; Sat, 29 Aug 2009 10:15:07 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id B344E57E21A; Sat, 29 Aug 2009 10:16:17 -0400 (EDT) In-Reply-To: <8363c6bxef.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Aug 2009 15:46:32 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114832 Archived-At: Eli Zaretskii writes: > Unless I'm missing something, both branches of the if clause below > (from xdisp.c:redisplay_internal) are identical, except for the > comments: ... > > Okay to remove the condition and to collapse both branches into a > single code fragment? Yes, please.