diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/buffer.c | 23 |
2 files changed, 16 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 29fb2dd1edf..ca867c99599 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-05-03 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * buffer.c (overlay_strings): Fix the wording of the commentary. | ||
| 4 | |||
| 1 | 2014-05-02 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-05-02 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Consult libpng-config more consistently (Bug#17339). | 7 | Consult libpng-config more consistently (Bug#17339). |
diff --git a/src/buffer.c b/src/buffer.c index 3e1359707cd..8077e47fa0b 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3333,17 +3333,18 @@ record_overlay_string (struct sortstrlist *ssl, Lisp_Object str, | |||
| 3333 | } | 3333 | } |
| 3334 | } | 3334 | } |
| 3335 | 3335 | ||
| 3336 | /* Return the concatenation of the strings associated with overlays that | 3336 | /* Concatenate the strings associated with overlays that begin or end |
| 3337 | begin or end at POS, ignoring overlays that are specific to a window | 3337 | at POS, ignoring overlays that are specific to windows other than W. |
| 3338 | other than W. The strings are concatenated in the appropriate order: | 3338 | The strings are concatenated in the appropriate order: shorter |
| 3339 | shorter overlays nest inside longer ones, and higher priority inside | 3339 | overlays nest inside longer ones, and higher priority inside lower. |
| 3340 | lower. Normally all of the after-strings come first, but zero-sized | 3340 | Normally all of the after-strings come first, but zero-sized |
| 3341 | overlays have their after-strings ride along with the before-strings | 3341 | overlays have their after-strings ride along with the |
| 3342 | because it would look strange to print them inside-out. | 3342 | before-strings because it would look strange to print them |
| 3343 | 3343 | inside-out. | |
| 3344 | Returns the string length, and stores the contents indirectly through | 3344 | |
| 3345 | PSTR, if that variable is non-null. The string may be overwritten by | 3345 | Returns the concatenated string's length, and return the pointer to |
| 3346 | subsequent calls. */ | 3346 | that string via PSTR, if that variable is non-NULL. The storage of |
| 3347 | the concatenated strings may be overwritten by subsequent calls. */ | ||
| 3347 | 3348 | ||
| 3348 | ptrdiff_t | 3349 | ptrdiff_t |
| 3349 | overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr) | 3350 | overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr) |