* font.c (valid_font_driver) [ENABLE_CHECKING]: New function
intended to find bogus pointers in font objects (Bug#16140).
* font.h (valid_font_driver) [ENABLE_CHECKING]: Add prototype.
* alloc.c (cleanup_vector): Use valid_font_driver in eassert.
(compact_font_cache_entry, compact_font_caches) [!HAVE_NTGUI]:
Disable for MS-Windows due to Bug#15876; apparently this
requires more or less substantial changes in fontset code.
* xfont.c (xfont_close):
* xftfont.c (xftfont_close): Call x_display_info_for_display
to check whether 'Display *' is valid (Bug#16093 and probably
Bug#16069).
* progmodes/compile.el (compile-goto-error): Do not push-mark.
Remove NOMSG arg and all uses changed.
Fix recent w32_enable_frame_resize_hack and display-buffer-below-selected fixes.

* w32term.c (w32_enable_frame_resize_hack): Default to 1.

* window.el (display-buffer-below-selected): Bind
split-height-threshold to 0 as suggested by Juri Linkov.
Fix bug#16161: CHECK_LIST_CONS fails on nil

* src/gnutls.c (Fgnutls_boot): Use `Flistp' instead of
`CHECK_LIST_CONS`.
Cleanup cfengine3-mode so complete-symbol works again.

* progmodes/cfengine.el (cfengine3--current-word): Remove.
(cfengine3--current-function): Bring in the current-function
functionality from `cfengine3--current-word'.
(cfengine3-completion-function): Bring in the
bounds-of-current-word functionality from
`cfengine3--current-word'.
* gnutls.c (Fgnutls_boot): Properly check Flistp return value.
Add more .gitignore
* INSTALL: Clarify treatment of image libraries.
Fix bug #16165 with memory corruption by extend_face_to_end_of_line.

 src/xdisp.c (extend_face_to_end_of_line): Don't fill background of
 display margins on mode line, header line, and in the frame's
 tool-bar window.
* font.h (valid_font_driver) [!ENABLE_CHECKING]: Define a dummy.

This prevents a compilation error on C compilers that do not
default functions to return 'int' if not declared.  Also, add
INLINE_HEADER_BEGIN and INLINE_HEADER_END to this include file,
since it now uses inline functions.
A better fix for bug #16148 and related issues.

 src/xdisp.c (Fmove_point_visually): Fix subtle bugs in the fallback
 code, revealed in presence of R2L characters, character
 compositions, and display vectors.
 src/dispextern.h (struct composition_it): Correct a comment for the
 'width' member.
Update Emacs's Windows manifests to support Windows 8.1.

 nt/emacs-x64.manifest:
 nt/emacs-x86.manifest: Declare that we target Windows 8.1 as well
 as earlier versions.  This is so GetVersion and GetVersionEx APIs
 used for bug reporting and other purposes return accurate version
 number on Windows 8.1.  See the discussion on MSDN
 http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx
 for more details.
* lisp/emacs-lisp/gv.el (gv-ref): Mention lexbind restriction.
Fix compilation errors introduced by changes in extend_face_to_end_of_line.

 src/xdisp.c (extend_face_to_end_of_line): Don't reference tool_bar_window
 in GTK and NS builds, they don't have this member of struct frame.
* lisp/isearch.el (isearch-mode-map): Remove [escape] key bindinds.
(isearch-pre-command-hook): Check `this-command' for symbolp.
* lisp/desktop.el (desktop-auto-save-timeout): Change default to
`auto-save-timeout'.  Doc fix.
(desktop-save): Skip the timestamp in desktop-saved-frameset
when checking for auto-save changes.
(desktop-auto-save): Don't call desktop-auto-save-set-timer since
`desktop-auto-save' is called repeatedly by the idle timer.
(desktop-auto-save-set-timer): Replace `run-with-timer' with
`run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
Fix problems with CANNOT_DUMP and EMACSLOADPATH.

* leim/Makefile.in (RUN_EMACS):
* lisp/Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
* lisp/loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
Expand dir too, in case it's relative.
* src/lread.c (init_lread): If CANNOT_DUMP, we can't be dumping.
eww anchor pointer movement fixup

* net/eww.el (eww-display-html): If we can't find the anchor we're
looking for, then go to point-min.
* net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
Fix bug#16116

* lisp/emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
(smie-indent-close): Call `smie-indent--rule-1' with METHOD
:close-all, to see which indentation method to use.
(smie-rules-function): Document the method :close-all.

* test/indent/ruby.rb: Update examples according to the change
in `smie-indent-close'.