1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

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.
This commit is contained in:
Eli Zaretskii 2014-05-03 11:47:50 +03:00
parent e6cf6ca050
commit 74a9022aba
4 changed files with 21 additions and 12 deletions

View File

@ -1,3 +1,7 @@
2014-05-03 Eli Zaretskii <eliz@gnu.org>
* mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):

View File

@ -473,8 +473,8 @@ message."
(widen)
(goto-char (point-min))
(while (>= total msgnum)
;; Go back to the Rmail buffer so
;; so FUNCTION and rmail-get-summary can see its local vars.
;; Go back to the Rmail buffer so FUNCTION and
;; rmail-get-summary can see its local vars.
(with-current-buffer main-buffer
;; First test whether to include this message.
(if (or (null function)

View File

@ -1,3 +1,7 @@
2014-05-03 Eli Zaretskii <eliz@gnu.org>
* buffer.c (overlay_strings): Fix the wording of the commentary.
2014-05-02 Paul Eggert <eggert@cs.ucla.edu>
Consult libpng-config more consistently (Bug#17339).

View File

@ -3333,17 +3333,18 @@ record_overlay_string (struct sortstrlist *ssl, Lisp_Object str,
}
}
/* Return the concatenation of the strings associated with overlays that
begin or end at POS, ignoring overlays that are specific to a window
other than W. The strings are concatenated in the appropriate order:
shorter overlays nest inside longer ones, and higher priority inside
lower. Normally all of the after-strings come first, but zero-sized
overlays have their after-strings ride along with the before-strings
because it would look strange to print them inside-out.
/* Concatenate the strings associated with overlays that begin or end
at POS, ignoring overlays that are specific to windows other than W.
The strings are concatenated in the appropriate order: shorter
overlays nest inside longer ones, and higher priority inside lower.
Normally all of the after-strings come first, but zero-sized
overlays have their after-strings ride along with the
before-strings because it would look strange to print them
inside-out.
Returns the string length, and stores the contents indirectly through
PSTR, if that variable is non-null. The string may be overwritten by
subsequent calls. */
Returns the concatenated string's length, and return the pointer to
that string via PSTR, if that variable is non-NULL. The storage of
the concatenated strings may be overwritten by subsequent calls. */
ptrdiff_t
overlay_strings (ptrdiff_t pos, struct window *w, unsigned char **pstr)