Auto-commit of generated files.
* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list.  Silly backport.
Fix redirection in nt/configure.bat.

 nt/configure.bat: Ensure a space between %var% expansion and
 redirection symbol '>', which breaks when %var% ends in a digit,
 such as 1.
Fix "C-c C-r" in mail-mode invoked from Rmail.

 lisp/mail/sendmail.el (mail-yank-region): Recognize
 rmail-yank-current-message in addition to insert-buffer.  Fixes
 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
 a *mail* buffer created through rmail-start-mail with sendmail as
 mail-user-agent.
Auto-commit of loaddefs files.
A better fix for bug #11464 with pos-visible-in-window-p and R2L text.

 src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
 state after an additional call to move_it_in_display_line_to, keep
 the values of it->max_ascent and it->max_descent found for the
 entire line.
 (pos_visible_p): Revert the comparison against bottom_y to what it
 was in revid eliz@gnu.org-20120513182235-4p6386j761ld0nwb.
Fix BUGS typo
Update value of window-system-version for MS-DOS build.

 src/msdos.c (internal_terminal_init) <Vwindow_system_version>:
 Update value to 24.
gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that Gcc works (bug#11514)
Fix bug #11519 with relocation of buffer text during regex search.

 src/lisp.h [REL_ALLOC]: Add prototypes for external functions
 defined on ralloc.c.
 src/buffer.c [REL_ALLOC]: Remove prototypes of
 r_alloc_reset_variable, r_alloc, r_re_alloc, and r_alloc_free,
 they are now on lisp.h.
 src/ralloc.c (r_alloc_inhibit_buffer_relocation): New function.
 src/search.c (search_buffer): Use it to inhibit relocation of buffer
 text while re_search_2 is doing its job, because re_search_2 is
 passed C pointers to buffer text.
* src/callproc.c (Fcall_process): Restore a line that was accidentally commented out (bug#11547).
Merge Org 7.8.11 -- important bug fixes.
Fix major bug in the Org>ODT exporter.
Fix typos in previous
Add a forgotten lisp/org/ChangeLog entry.
Ugly fix for bug#11556.

* desktop.el (desktop-read): Clear previous and next buffers for all
windows and bury *Messages* buffer (bug#11556).
Fix subtle problem with redirection in nt/configure.bat.

 nt/configure.bat (genmakefiles): Move the redirection away from the
 end of the command, to avoid excess whitespace at the end of Make
 variables created at configure time, and also avoid things like
 "FOO1>>config.settings", where "1" gets interpreted as the file
 descriptor and eaten up.  This fixes breakage introduced by the
 last change, without reintroducing the bug fixed by that change.
Avoid buffer text relocations in calls to STRING_CHAR_* macros.

 src/charset.c (maybe_unify_char): Inhibit relocation of buffer text
 for the duration of call to load_charset, to avoid problems with
 callers of maybe_unify_char that access buffer text through C
 pointers.
 src/ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and
 decrement the inhibition flag, instead of just setting or
 resetting it.
Don't call r_alloc_inhibit_buffer_relocation from search.c.

 src/search.c (search_buffer): Remove calls to
 r_alloc_inhibit_buffer_relocation, as it is now called by
 maybe_unify_char, which was the cause of relocation of buffer text
 in bug#11519.
Fix bug #11405 with MSVC build of emacsclientw.

 lib-src/makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
 instead of a literal -mwindows, which is not supported by MSVC.
 nt/nmake.defs (MWINDOWS): Define as "-subsystem:windows -entry:mainCRTStartup".
 Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>.
 nt/gmake.defs (MWINDOWS): Define as "-mwindows".