diff options
| author | Miles Bader | 2000-08-08 23:49:38 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-08-08 23:49:38 +0000 |
| commit | a0315a63997febc7cb9357514b2c787aa4a317ff (patch) | |
| tree | 71562ff0836b321b2a22a9b4d63076c7882ac97a | |
| parent | bac40480f23b866feb6d50cdaf5ad4fec202b67d (diff) | |
| download | emacs-a0315a63997febc7cb9357514b2c787aa4a317ff.tar.gz emacs-a0315a63997febc7cb9357514b2c787aa4a317ff.zip | |
(next_overlay_change): Update call to overlays_at.
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index eceb3822f20..3f0cbc58f5c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Display generation from window structure and buffer text. | 1 | /* Display generation from window structure and buffer text. |
| 2 | Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99 | 2 | Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 97, 98, 99, 2000 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -1808,12 +1808,12 @@ next_overlay_change (pos) | |||
| 1808 | /* Get all overlays at the given position. */ | 1808 | /* Get all overlays at the given position. */ |
| 1809 | len = 10; | 1809 | len = 10; |
| 1810 | overlays = (Lisp_Object *) alloca (len * sizeof *overlays); | 1810 | overlays = (Lisp_Object *) alloca (len * sizeof *overlays); |
| 1811 | noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL); | 1811 | noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL, 1); |
| 1812 | if (noverlays > len) | 1812 | if (noverlays > len) |
| 1813 | { | 1813 | { |
| 1814 | len = noverlays; | 1814 | len = noverlays; |
| 1815 | overlays = (Lisp_Object *) alloca (len * sizeof *overlays); | 1815 | overlays = (Lisp_Object *) alloca (len * sizeof *overlays); |
| 1816 | noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL); | 1816 | noverlays = overlays_at (pos, 0, &overlays, &len, &endpos, NULL, 1); |
| 1817 | } | 1817 | } |
| 1818 | 1818 | ||
| 1819 | /* If any of these overlays ends before endpos, | 1819 | /* If any of these overlays ends before endpos, |