branch: externals/auctex commit dbc339fa4f7dc8dd465cc7e61853ec56f78dafe0 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
Lift required GNU Emacs version to 24.3 * RELEASE (Requirements): Mention that AUCTeX now requires at least GNU Emacs 24.3. * auctex.el.in: Lift GNU Emacs version to 24.3 and cl-lib to 1.0 for `Package-Requires' header. * configure.ac (EMACS_CHECK_VERSION): Check for 24.3. * doc/changes.texi: Add entry for required Emacs version. * doc/faq.texi: * doc/preview-faq.texi (Requirements): Change tested/required Emacs version. * tex-site.el.in: * tex.el: Consider Emacs' minor version as well before reporting an error. --- RELEASE | 2 +- auctex.el.in | 4 ++-- configure.ac | 2 +- doc/changes.texi | 3 +++ doc/faq.texi | 2 +- doc/preview-faq.texi | 2 +- tex-site.el.in | 5 +++-- tex.el | 5 +++-- 8 files changed, 15 insertions(+), 10 deletions(-) diff --git a/RELEASE b/RELEASE index 1b194d2..daa276a 100644 --- a/RELEASE +++ b/RELEASE @@ -75,7 +75,7 @@ More bugs fixed, other minor features implemented. Requirements ------------ -It is required that you use at least GNU Emacs 24. +It is required that you use at least GNU Emacs 24.3. The preview-latex subsystem requires image support. diff --git a/auctex.el.in b/auctex.el.in index 93c9284..03a8049 100644 --- a/auctex.el.in +++ b/auctex.el.in @@ -1,11 +1,11 @@ ;;; auctex.el --- Integrated environment for *TeX* -;; Copyright (C) 2014-2019 Free Software Foundation, Inc. +;; Copyright (C) 2014-2020 Free Software Foundation, Inc. ;; URL: https://www.gnu.org/software/auctex/ ;; Maintainer: auctex-de...@gnu.org ;; Notifications-To: auctex-di...@gnu.org -;; Package-Requires: ((emacs "24.1") (cl-lib "0.5")) +;; Package-Requires: ((emacs "24.3") (cl-lib "1.0")) ;; Keywords: TeX LaTeX Texinfo ConTeXt docTeX preview-latex ;; This file is part of AUCTeX. diff --git a/configure.ac b/configure.ac index b102be4..f035c77 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ AC_SUBST(PREVIEWVERSION) EMACS_PROG_EMACS -EMACS_CHECK_VERSION(24,1) +EMACS_CHECK_VERSION(24,3) # The Debian package uses `--disable-build-dir-test'; normal users should # never need to modify the default behavior. diff --git a/doc/changes.texi b/doc/changes.texi index b3e7398..cc0156f 100644 --- a/doc/changes.texi +++ b/doc/changes.texi @@ -12,6 +12,9 @@ @itemize @bullet @item +@AUCTeX{} now requires GNU Emacs 24.3 or higher. + +@item Old implementations for viewers were discarded, as stated long before. The variables @code{TeX-output-view-style} and @code{TeX-view-style} have no effect now. The former placeholders @samp{%v} and @samp{%vv} in diff --git a/doc/faq.texi b/doc/faq.texi index c8f633a..aa447b4 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -54,7 +54,7 @@ statements related to the problem. @item What versions of Emacs are supported? -@AUCTeX{} was tested with @w{GNU Emacs 24}. Older versions may work but +@AUCTeX{} was tested with @w{GNU Emacs 24.3}. Older versions may work but are unsupported. @item diff --git a/doc/preview-faq.texi b/doc/preview-faq.texi index d0a74f3..442ac9e 100644 --- a/doc/preview-faq.texi +++ b/doc/preview-faq.texi @@ -49,7 +49,7 @@ to @email{auctex-devel@@gnu.org}. See also the table at the end of the section. @previewlatex{} nominally requires @w{GNU Emacs} with a version of at -least 24.1. +least 24.3. @subsection Which versions of Ghostscript and @AUCTeX{} are needed? diff --git a/tex-site.el.in b/tex-site.el.in index d210ffc..a72ea35 100644 --- a/tex-site.el.in +++ b/tex-site.el.in @@ -38,8 +38,9 @@ ;;; Code: -(if (< emacs-major-version 24) - (error "AUCTeX requires Emacs 24 or later")) +(if (and (< emacs-major-version 24) + (< emacs-minor-version 3)) + (error "AUCTeX requires Emacs 24.3 or later")) (unless (or (fboundp 'TeX-modes-set) ;Avoid inf-looping. (fboundp 'TeX-tex-mode)) ;auctex-autoloads is not loaded. diff --git a/tex.el b/tex.el index cd74b30..d2e7d4f 100644 --- a/tex.el +++ b/tex.el @@ -28,8 +28,9 @@ ;;; Code: -(when (< emacs-major-version 24) - (error "AUCTeX requires Emacs 24 or later")) +(when (and (< emacs-major-version 24) + (< emacs-minor-version 3)) + (error "AUCTeX requires Emacs 24.3 or later")) (require 'custom) (require 'tex-site)