Update MinionPro style.

* style/MinionPro.el (TeX-add-symbols): Remove `figureversion',
`textsw', `textssc', `sscshape' and `swshape'.
(TeX-run-style-hooks): Added "fontaxes".

* style/MinionPro.el (LaTeX-MinionPro-package-options): Added
additional options from v2.3 of `MinionPro.sty', available from
<https://github.com/sebschub>

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Add new styles.

* style/zlmtt.el: New file.

* style/XCharter.el: New file.

* style/textcomp.el: New file.

* style/MyriadPro.el: New file.

* style/mdsymbol.el: New file.

* style/fontaxes.el: New file.

* style/eso-pic.el: New file.

* style/AnonymousPro.el: New file.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Fix typo in Makefile.in.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Several changes suggested by byte-compiler warnings.

* toolbar-x.el: Adjust copyright years.
(require): Require cl at compile-time.
(toolbarx-good-option-list-p): Use pushnew instead of add-to-list.

* tex.el (url-unreserved-chars): Declare to silence byte-compiler.
(TeX-tree-expand): Use pushnew instead of add-to-list.  Iterate
path-list in reversed order.
(TeX-style-path): Use mapc instead of mapcar for side-effects.
(TeX-file-extensions, BibTeX-file-extensions)
(TeX-Biber-file-extensions): Declare to silence byte-compiler.
(TeX-tree-roots): Use pushnew instead of add-to-list.
(TeX-search-files-by-type): Use setq/pushnew instead of
dolist/add-to-list.
(TeX-doc): Use pushnew instead of add-to-list.

* tex-info.el (require): Require cl at compile-time.
(Texinfo-insert-node): Use pushnew instead of add-to-list.
(reftex-section-levels-all, reftex-level-indent)
(reftex-label-menu-flags, reftex-tables-dirty): Always
forward-declare (not only at compile-time).
(when): declare-function only at compile-time.

* tex-fold.el: Adjust copyright years.
(require): Require cl at compile-time.
(TeX-fold-region-macro-or-env, TeX-fold-update-at-point): Use
pushnew instead of add-to-list.
(TeX-fold-hide-item): Use setq instead of add-to-list.

* tex-buf.el (font-lock-mode-enable-list)
(font-lock-auto-fontify, font-lock-defaults-alist): Declare vars
to silence byte-compiler.

* multi-prompt.el: Adjust copyright years.
(multi-prompt): Don't let-bind unused var done.
(multi-prompt-next-must-match): Use minibuffer-completion-table
instead of dynamically bound table.

* latex.el (require): Require cl at compile-time.
(title, name, level, done-mark, toc): Declare dynamic vars.
(LaTeX-env-document, TeX-arg-index-tag, TeX-arg-document)
(LaTeX-arg-usepackage, TeX-arg-verb, ): Rename unused arg.
(LaTeX-listify-package-options): Use setq instead of add-to-list
to add to local var.
(reftex-ref-macro-prompt, TeX-arg-item-label-p)
(TeX-arg-right-insert-p): Declare to silence byte-compiler.
(LaTeX-indent-line): Use pushnew instead of add-to-list.
(LaTeX-fill-move-to-break-point): Don't let-bind unused math-sep.
(LaTeX-section-enable-symbol): Downcase arg.
(LaTeX-indent-tabular): Use mapc instead of mapcar for
side-effects.

* context.el (done-mark, reference, title, name, level): Declare
dynamic vars without global nil value.
(ConTeXt-section): let-bind reference.  Remove binding of unused
var toc.
(ConTeXt-numbered-section-hook, ConTeXt-unnumbered-section-hook):
Improve docstring.
(ConTeXt-find-matching-stop): Don't let-bind pos.
(ConTeXt-optional-argument-insert)
(ConTeXt-required-argument-insert, ConTeXt-indent-line): Rename
unused arg.
(ConTeXt-mode-common-initialization): Use fboundp to check if
make-local-hook is defined.

* bib-cite.el: Expand copyright years.
(bib-cite-is-XEmacs): Remove.
(bib-cite-minor-mode, bib-cite-setup-highlight-mouse-keymap)
(bib-etags, bib-highlight-mouse, bib-toggle-highlight)
(bib-etags-find-noselect): Check for XEmacs with featurep.
(bib-cite-setup-mouse-function): Rename unused arg.
(bib-apropos): Use mapc instead of mapcar for side effects.
(bib-cite-fontify-help-xemacs): Define only on XEmacs.
(bib-cite-fontify-help-as-bibtex, bib-cite-fontify-help-as-latex):
Check for XEmacs with featurep.  Fix fontification code.
(bib-display-this-ref): Use point-min instead of 1.
(TeX-auto-save, TeX-auto-update, TeX-auto-regexp-list): Declare to
silence the byte-compiler.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Several changes suggested by byte-compiler warnings.

* prv-install.el: Adjust copyright years.
(preview-make-package-xemacs): Use insert-file-contents instead of
insert-file.

* preview.el.in (error): Declare not only at compile-time.
(preview-expandable-string): Use explicit let instead of calling
lambda with another lambda.
(preview-mouse-open-eps): Use default-value of major-mode instead
of default-major-mode.
(preview-copy-text): Use with-current-buffer instead of
save-excursion with set-buffer.
(preview-parse-messages): Don't let-bind context.  Use mapc +
funcall instead of run-hooks.  Use goto-char + forward-line
instead of goto-line.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Prepare for find-file-hooks being removed from Emacs.

* tex.el (VirTeX-common-initialization): Define a variable alias
for find-file-hook on XEmacs.
Replace `read-string' with `TeX-read-string'

Rationale: `TeX-read-string' inherits current input method, that users may
easily toggle with "C-\" if needed.
Added ChangeLog entries for commit [0c2cfc8]
Add copyright notice to style/foils.el
Fix documentation about changing font attributes of existing text

* doc/quickstart.texi (Editing Facilities): Fix documentation: to change
  font attributes of existing text, it has to be marked as an _active_
  region.
Fix typo

* doc/auctex.texi (Selecting a Command): Fix typo.
Update manual

* doc/auctex.texi (Automatic Local): Update description of
`TeX-style-path', `TeX-style-global', `TeX-style-local', and
`TeX-auto-local' variables: there is no need to end directories and
directories lists items with a slash.
Update the FAQ entry about failing `TeX-next-error' behavior

* doc/faq.texi: Update the `Why does 'TeX-next-error' ('C-c `') fail?'
entry, taking into account the `TeX-file-line-error' option.  Update
copyright range.
Add new `ifluatex.el' style
Add new `luatextra.el' style
Add `ifluatex.el' to Makefile.in
Add `luatextra.el' to Makefile.in
Update windows-package Make rule to new Emacs 24.4 package.

* Makefile.in (WEMACSPACKAGE, WEMACSEXTRACTDIR): New variables.
(windows-package): Adapt rule to new Emacs 24.4 package for
Windows.  Use `WEMACSPACKAGE' and `WEMACSEXTRACTDIR'.
Fix structure of the package for Windows.

* Makefile.in (WEMACSDATAROOTDIR, WEMACSSITELISP): New variables.
(WPACKAGEFILES): Update accordingly.
(windows-package): Fix structure of the package for Emacs 24.4.
Reported by Uwe Siart.  Remove the zip package before creating it,
otherwise it would be updated instead of recreated.
Document presence of bashisms in some Make rules.

* Makefile.in: Mention that bash shell is required for windows-package
and release-upload recipes due to some bashisms in them.  Reported by
José Carlos Santos.