aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2014-05-03 11:47:50 +0300
committerEli Zaretskii2014-05-03 11:47:50 +0300
commit74a9022aba2055c1b4487eb5f69a274d108d893b (patch)
treecefa3127da97685d1097029fde2081b205b8856d /src/buffer.c
parente6cf6ca050891610596a559a2fb707570c4c1fe5 (diff)
downloademacs-74a9022aba2055c1b4487eb5f69a274d108d893b.tar.gz
emacs-74a9022aba2055c1b4487eb5f69a274d108d893b.zip
Minor fixes for comments.
src/buffer.c (overlay_strings): Fix the wording of the commentary. lisp/mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c23
1 files changed, 12 insertions, 11 deletions
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
3348ptrdiff_t 3349ptrdiff_t
3349overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr) 3350overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr)