Fixes: debbugs:14826

* progmodes/sh-script.el (sh-read-variable): Remove interactive
spec.
* INSTALL: Try to clarify role of make distclean.
ChangeLog fix (no need to merge to trunk)
* src/image.c (Fimage_flush): Fix doc typo.
merge trunk
* gdb-mi.el (gdb-done-or-error): Guard against "%" in gdb output (tiny change)
* mule.el (coding-system-iso-2022-flags): Add `level-4'.  (Bug#8522)
* coding.c (CODING_ISO_FLAG_LEVEL_4): New macro.
(decode_coding_iso_2022): Check the single-shift area.  (Bug#8522)
*** empty log message ***
*** empty log message ***
* lread.c (Fload): Avoid uninitialized warning.
mule.el (coding-system-iso-2022-flags): Change 8-bit-level-4'
coding.c (decode_coding_iso_2022): Fix previous change.
merge trunk
Fix Bug#8522.
* lread.c (Fload): Avoid initialization only when lint checking.

Mention that it's needed only for older GCCs.
Fix array bounds violation when pty allocation fails.

* configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE,
not sizeof pty_name, since pty_name is now a pointer to the array.
* src/process.c (PTY_NAME_SIZE): New constant.
(pty_name): Remove static variable; it's now auto.
(allocate_pty): Define even if !HAVE_PTYS; that's simpler.
Take pty_name as an arg rather than using a static variable.
All callers changed.
(create_process): Recover pty_flag from process, not from volatile local.
(create_pty): Stay inside array even when pty allocation fails.
(Fmake_serial_process): Omit unnecessary initializaiton of pty_flag.
* international/mule.el (coding-system-iso-2022-flags): Fix last
change.
* lisp/image-dired.el (image-dired-track-original-file):
Avoid changing point of wrong window.
Merge from emacs-24; up to r111388