diff options
author | Paul Eggert <[email protected]> | 2011-07-12 18:15:33 -0700 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2011-07-12 18:15:33 -0700 |
commit | 2941c447ebada8126c27065f78c31895f69c738e (patch) | |
tree | e16fb6b865a14b346c445d99cb9ee9f497645f0a /src/buffer.c | |
parent | 47ea7f442f7d85f29b7200ada8755e6ebf5c0819 (diff) |
* buffer.c (Fget_buffer_create): Initialized inhibit_shrinking.
The old code sometimes used this field without initializing it.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 1b8b111789..776888e30a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -361,6 +361,7 @@ even if it is dead. The return value is never nil. */) BUF_END_UNCHANGED (b) = 0; BUF_BEG_UNCHANGED (b) = 0; *(BUF_GPT_ADDR (b)) = *(BUF_Z_ADDR (b)) = 0; /* Put an anchor '\0'. */ + b->text->inhibit_shrinking = 0; b->newline_cache = 0; b->width_run_cache = 0; |