From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Compile failure without window system Date: Sun, 24 Feb 2002 10:12:58 +0200 (IST) Message-ID: NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: quimby2.netfonds.no 1014541869 10373 195.204.10.66 (24 Feb 2002 09:11:09 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 24 Feb 2002 09:11:09 GMT Cc: Alex Plotnick , emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16eugW-0002hD-00 for ; Sun, 24 Feb 2002 10:11:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16etof-0008CI-00; Sun, 24 Feb 2002 03:15:29 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16etnH-00086e-00 for ; Sun, 24 Feb 2002 03:14:04 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id KAA27677; Sun, 24 Feb 2002 10:12:58 +0200 (IST) X-Sender: eliz@is Original-To: Stefan Monnier In-Reply-To: <200202221644.g1MGijB30480@rum.cs.yale.edu> Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1477 On Fri, 22 Feb 2002, Stefan Monnier wrote: > > > + #ifdef HAVE_WINDOW_SYSTEM > > if (clear_face_cache_count % 50 == 0 > > && FRAME_WINDOW_P (f)) > > clear_image_cache (f, 0); > > + #endif /* HAVE_WINDOW_SYSTEM */ > > > > /* Mark all the scroll bars to be removed; we'll redeem > > the ones we want when we redisplay their windows. */ > > IIUC, the error was that clear_image_cache does not exist if > compiled without a window system. Wouldn't it be better to > define a dummy clear_image_cache in that case, to keep the xdisp.c > code a bit cleaner ? I agree that a dummy version would be cleaner. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel