diff options
| author | Paul Eggert | 2014-05-04 12:37:56 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-05-04 12:37:56 -0700 |
| commit | 3e9fa60a5c99568817a12a1011b0e61cce5d3a67 (patch) | |
| tree | 831a801351db662f324d0709bf1fee718eda63e9 /src/buffer.c | |
| parent | bbdcf64f499636ba9567e8fed8f209e06380352c (diff) | |
| parent | 61febcb6e32860575316b8a539a2e9f13f70e3c2 (diff) | |
| download | emacs-3e9fa60a5c99568817a12a1011b0e61cce5d3a67.tar.gz emacs-3e9fa60a5c99568817a12a1011b0e61cce5d3a67.zip | |
Merge from emacs-24; up to 2014-05-04T21:18:30Z!eggert@cs.ucla.edu
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/buffer.c b/src/buffer.c index e6968e88d01..a1142479d04 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3328,17 +3328,18 @@ record_overlay_string (struct sortstrlist *ssl, Lisp_Object str, | |||
| 3328 | } | 3328 | } |
| 3329 | } | 3329 | } |
| 3330 | 3330 | ||
| 3331 | /* Return the concatenation of the strings associated with overlays that | 3331 | /* Concatenate the strings associated with overlays that begin or end |
| 3332 | begin or end at POS, ignoring overlays that are specific to a window | 3332 | at POS, ignoring overlays that are specific to windows other than W. |
| 3333 | other than W. The strings are concatenated in the appropriate order: | 3333 | The strings are concatenated in the appropriate order: shorter |
| 3334 | shorter overlays nest inside longer ones, and higher priority inside | 3334 | overlays nest inside longer ones, and higher priority inside lower. |
| 3335 | lower. Normally all of the after-strings come first, but zero-sized | 3335 | Normally all of the after-strings come first, but zero-sized |
| 3336 | overlays have their after-strings ride along with the before-strings | 3336 | overlays have their after-strings ride along with the |
| 3337 | because it would look strange to print them inside-out. | 3337 | before-strings because it would look strange to print them |
| 3338 | 3338 | inside-out. | |
| 3339 | Returns the string length, and stores the contents indirectly through | 3339 | |
| 3340 | PSTR, if that variable is non-null. The string may be overwritten by | 3340 | Returns the concatenated string's length, and return the pointer to |
| 3341 | subsequent calls. */ | 3341 | that string via PSTR, if that variable is non-NULL. The storage of |
| 3342 | the concatenated strings may be overwritten by subsequent calls. */ | ||
| 3342 | 3343 | ||
| 3343 | ptrdiff_t | 3344 | ptrdiff_t |
| 3344 | overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr) | 3345 | overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr) |