Mercurial > emacs
view msdos/sedalloc.inp @ 111912:d566763f152d
Fix crash with invisible text and overlays (Bug#7016).
* src/dispextern.h (struct it): New member overlay_strings_charpos.
* src/xdisp.c (next_overlay_string, load_overlay_strings): Record the
charpos where we computed n_overlay_strings.
(next_overlay_string): Load overlay strings at recorded position,
which may not be the same as the iterator's charpos (Bug#7016).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 06 Dec 2010 01:54:52 -0500 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
line wrap: on
line source
# -sedalloc.inp----------------------------------------------------------- # Configuration script for SYSTEM_MALLOC/REL_ALLOC in src/config.h # ---------------------------------------------------------------------- # # Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. # # This file is part of GNU Emacs. # # This file is free software; as a special exception, the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # ---------------------------------------------------------------------- /^#define GNU_MALLOC *1 *$/s|^.*$|/* #undef GNU_MALLOC */| /^#define REL_ALLOC.*$/a\ \ /* Inserted by the --with-system-malloc switch to config.bat. */\ #define SYSTEM_MALLOC 1 /^#define REL_ALLOC *1 *$/s|^.*$|/* #undef REL_ALLOC */| # arch-tag: 20b3ad5d-fcd7-4751-aa34-e94e770ded87