emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 5862ea4 08/10: Merge remote-tracking branch 'ori


From: Tassilo Horn
Subject: [elpa] externals/auctex 5862ea4 08/10: Merge remote-tracking branch 'origin/master' into externals/auctex
Date: Thu, 24 Dec 2020 09:49:32 -0500 (EST)

branch: externals/auctex
commit 5862ea4135a6324c204a4cd82ff39d62ede7d882
Merge: e6b1bf2 0294aff
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Merge remote-tracking branch 'origin/master' into externals/auctex
---
 RELEASE              |   2 +-
 auctex.el.in         |   4 +-
 bib-cite.el          |  36 +++++++-------
 configure.ac         |   2 +-
 context-en.el        |   5 +-
 context-nl.el        |   4 +-
 context.el           |  18 ++++---
 doc/auctex.texi      |  28 -----------
 doc/changes.texi     |  17 +++++++
 doc/faq.texi         |   2 +-
 doc/preview-faq.texi |   2 +-
 latex.el             |  48 +++++++++---------
 preview.el           |  61 ++++++++++++-----------
 tex-buf.el           |  39 ++-------------
 tex-jp.el            |   6 +--
 tex-mik.el           |  11 -----
 tex-site.el.in       |  10 ++--
 tex.el               | 136 +++++++++++----------------------------------------
 texmathp.el          |   4 +-
 19 files changed, 153 insertions(+), 282 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-devel@gnu.org
 ;; Notifications-To: auctex-diffs@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/bib-cite.el b/bib-cite.el
index 1447888..122a35e 100644
--- a/bib-cite.el
+++ b/bib-cite.el
@@ -1,7 +1,7 @@
 ;;; bib-cite.el --- test
 ;; bib-cite.el - Display \cite, \ref or \label / Extract refs from BiBTeX file.
 
-;; Copyright (C) 1994-1999, 2001, 2003-2005, 2014
+;; Copyright (C) 1994-1999, 2001, 2003-2005, 2014, 2020
 ;; Free Software Foundation, Inc.
 
 ;; Author:    Peter S. Galbraith <psg@debian.org>
@@ -607,7 +607,7 @@
   :group 'tex)
 
 (defcustom bib-cite-use-reftex-view-crossref nil
-  "*Non-nil means, RefTeX will be used to find cross references.
+  "Non-nil means, RefTeX will be used to find cross references.
 When this variable is non-nil, both `bib-find' and `bib-display' will
 call a function in RefTeX to find or display the cross reference of a
 \\ref or \\cite macro at point."
@@ -615,12 +615,12 @@ call a function in RefTeX to find or display the cross 
reference of a
   :type 'boolean)
 
 (defcustom bib-novice t
-  "*Give advice to novice users about what commands to use next."
+  "Give advice to novice users about what commands to use next."
   :group 'bib-cite
   :type 'boolean)
 
 (defcustom bib-switch-to-buffer-function 'switch-to-buffer
-  "*Function used to select buffers if they differ from the original.
+  "Function used to select buffers if they differ from the original.
 You may use `switch-to-buffer' `switch-to-buffer-other-window' or
 `switch-to-buffer-other-frame'."
   :group 'bib-cite
@@ -629,19 +629,19 @@ You may use `switch-to-buffer' 
`switch-to-buffer-other-window' or
                 (function-item switch-to-buffer-other-frame)))
 
 (defcustom bib-highlight-mouse-t t
-  "*Call bib-highlight-mouse from `LaTeX-mode-hook' to add green highlight."
+  "Call bib-highlight-mouse from `LaTeX-mode-hook' to add green highlight."
   :group 'bib-cite
   :type 'boolean)
 
 (defcustom bib-label-help-echo-format "button2 finds %s, button3 displays %s"
-  "*Format string for info if the mouse is over LaTeX commands.
+  "Format string for info if the mouse is over LaTeX commands.
 If nil, do not display info."
   :group 'bib-cite
   :type '(radio (const :tag "Don't display info" nil)
-                string))
+               string))
 
 (defcustom bib-bibtex-env-variable "BIBINPUTS"
-  "*Environment variable setting the path where BiBTeX input files are found.
+  "Environment variable setting the path where BiBTeX input files are found.
 BiBTeX 0.99b manual says this should be TEXBIB.
 Another version says it should BSTINPUTS.  I don't know anymore!
 
@@ -651,14 +651,14 @@ use semi-colon (;) for DOS or OS/2 if you set 
bib-dos-or-os2-variable to t."
   :type 'string)
 
 (defcustom bib-cite-inputs nil
-  "*List of directories to search for .bib files.
+  "List of directories to search for .bib files.
 This is in addition to those listed in the environment variable specified by
 `bib-bibtex-env-variable'."
   :group 'bib-cite
   :type '(repeat (file :format "%v")))
 
 (defcustom bib-cite-aux-inputs nil
-  "*List of directories to search for .aux files.
+  "List of directories to search for .aux files.
 MiKTeX has the LaTeX option -aux-directory to store .aux files in an alternate
 directory.  You may set this variable to let bib-cite find these .aux files."
   :group 'bib-cite
@@ -668,7 +668,7 @@ directory.  You may set this variable to let bib-cite find 
these .aux files."
                                       (equal 'ms-dos system-type))
   ;; Under OS/2 system-type equals emx
   ;; Under DOS  system-type equals ms-dos
-  "*Whether you use DOS or OS/2 for bib-make-bibliography/bib-display.
+  "Whether you use DOS or OS/2 for bib-make-bibliography/bib-display.
 
 It tells bib-make-bibliography and bib-display to translate
 the BIBINPUTS environment variable using the \";\" character as
@@ -681,7 +681,7 @@ e.g. Use a path like 
\"c:\\emtex\\bibinput;c:\\latex\\bibinput\"
   :type 'boolean)
 
 (defcustom bib-etags-command "etags -r '/.*\\\\\\(eq\\|page\\|[fvF]\\)ref.*/' 
-o "
-  "*Variable for the etags command and its output option.
+  "Variable for the etags command and its output option.
 In unix, this is usually \"etags -r '/.*\\\(eq\|page\|[fvF]\)ref.*/' -o \"
 \(we use the -r option to tell etags to list AMS-LaTeX's \\eqref command.)
 In DOS and OS/2, this *may* be different, e.g. using slashes like \"etags /o=\"
@@ -690,21 +690,21 @@ If so, set it this variable."
   :type 'string)
 
 (defcustom bib-etags-append-command "etags -r 
'/.*\\\\\\(eq\\|page\\|[fvF]\\)ref.*/' -a -o "
-  "*Variable for the etags command and its append and output option.
+  "Variable for the etags command and its append and output option.
 In unix, this is usually \"etags -r '/.*\\\(eq\|page\|[fvF]\)ref.*/' -a -o \"
 In DOS and OS/2, this *may* be \"etags /a /o=\"  If so, set it this variable."
   :group 'bib-cite
   :type 'string)
 
 (defcustom bib-etags-filename "TAGS"
-   "*Variable for the filename generated by etags, by defaults this TAGS.
+   "Variable for the filename generated by etags, by defaults this TAGS.
 but you may want to change this to something like TAGSLaTeX such that it can
 coexist with some other tags file in your master file directory."
   :group 'bib-cite
   :type 'string)
 
 (defcustom bib-ref-regexp "\\\\\\(eq\\|page\\|[fvF]\\)?ref"
-  "*Regular expression for \\ref LaTeX commands that have a matching \\label.
+  "Regular expression for \\ref LaTeX commands that have a matching \\label.
 without the curly bracket.
 
 If you change this variable and you use multi-file documents, make sure you
@@ -713,7 +713,7 @@ also edit the variables bib-etags-command and 
bib-etags-append-command."
   :type 'regexp)
 
 (defcustom bib-substitute-string-in-display t
-  "*Determines if bib-display will substitute @string definitions.
+  "Determines if bib-display will substitute @string definitions.
 If t, then the @string text is substituted.
 If nil, the text is not substituted but the @string entry is included."
   :group 'bib-cite
@@ -724,7 +724,7 @@ If nil, the text is not substituted but the @string entry 
is included."
     "dec" "acmcs" "acta" "cacm" "ibmjrd" "ibmjs" "ieeese" "ieeetcad"
     "ieeetc" "ipl" "jacm" "jcss" "scp" "sicomp" "tcs" "tocs" "tods" "tog"
     "toms" "toois" "toplas" )
-  "*@string abbreviations for which a warning is not given if not defined.
+  "@string abbreviations for which a warning is not given if not defined.
 These are usually month abbreviations (or journals) defined in a style file."
   :group 'bib-cite
   :type '(repeat (string :tag "Entry")))
@@ -732,7 +732,7 @@ These are usually month abbreviations (or journals) defined 
in a style file."
 ;;<<<<<<User-Modifiable variables end here.
 
 (defvar bib-ref-regexpc (concat bib-ref-regexp "{")
-  "*Regular expression for \\ref LaTeX commands that have a matching \\label.
+  "Regular expression for \\ref LaTeX commands that have a matching \\label.
 A opening curly bracket is appended to the regexp.")
 
 (defvar bib-cite-minor-mode nil)
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/context-en.el b/context-en.el
index 7e6db6f..19dd172 100644
--- a/context-en.el
+++ b/context-en.el
@@ -1,7 +1,6 @@
 ;;; context-en.el --- Support for the ConTeXt english interface.
 
-;; Copyright (C) 2003-2004, 2006, 2008, 2010, 2014
-;;   Free Software Foundation, Inc.
+;; Copyright (C) 2003-2004, 2006, 2008, 2010, 2014, 2020 Free Software 
Foundation, Inc.
 
 ;; Maintainer: Berend de Boer <berend@pobox.com>
 ;; Keywords: tex
@@ -169,7 +168,7 @@
   "The ConTeXt macro's that are variants of item.")
 
 (defcustom ConTeXt-default-environment-en "itemize"
-  "*The default environment when creating new ones with `ConTeXt-environment'."
+  "The default environment when creating new ones with `ConTeXt-environment'."
   :group 'ConTeXt-en-environment
   :type 'string)
 
diff --git a/context-nl.el b/context-nl.el
index b08dadc..7a12d83 100644
--- a/context-nl.el
+++ b/context-nl.el
@@ -1,6 +1,6 @@
 ;;; context-nl.el --- Support for the ConTeXt dutch interface.
 
-;; Copyright (C) 2003, 2004, 2006, 2010, 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2004, 2006, 2010, 2015, 2020 Free Software Foundation, 
Inc.
 
 ;; Maintainer: Berend de Boer <berend@pobox.com>
 ;; Keywords: tex
@@ -143,7 +143,7 @@
   "The ConTeXt macro's that are variants of item.")
 
 (defcustom ConTeXt-default-environment-nl "opsomming"
-  "*The default environment when creating new ones with `ConTeXt-environment'."
+  "The default environment when creating new ones with `ConTeXt-environment'."
   :group 'ConTeXt-nl-environment
   :type 'string)
 
diff --git a/context.el b/context.el
index bde604f..6f150d5 100644
--- a/context.el
+++ b/context.el
@@ -285,7 +285,7 @@ Or:
 
 The following variables can be set to customize:
 
-`ConTeXt-section-hook'    Hooks to run when inserting a section.
+`ConTeXt-numbered-section-hook'    Hooks to run when inserting a section.
 `ConTeXt-section-ref'   Prefix to all section references."
 
   (interactive "*P")
@@ -532,7 +532,7 @@ the title of the section inserted with 
`\\[ConTeXt-section]."
 
 (defun ConTeXt-section-section ()
   "Hook to insert ConTeXt section command into the file.
-Insert this hook into `ConTeXt-section-hook' after those hooks
+Insert this hook into `ConTeXt-numbered-section-hook' after those hooks
 which sets the `ConTeXt-name', `ConTeXt-title', and
 `ConTeXt-reference' variables, but before those hooks which
 assumes the section already is inserted."
@@ -555,7 +555,7 @@ assumes the section already is inserted."
 
 (defun ConTeXt-section-ref ()
   "Hook to insert a reference after the sectioning command.
-Insert this hook into `ConTeXt-section-hook' to prompt for a label to be
+Insert this hook into `ConTeXt-numbered-section-hook' to prompt for a label to 
be
 inserted after the sectioning command."
   (setq ConTeXt-reference
         (completing-read
@@ -622,7 +622,7 @@ inserted after the sectioning command."
 
 ;; TODO: interface awareness
 (defcustom ConTeXt-default-environment "itemize"
-  "*The default environment when creating new ones with `ConTeXt-environment'."
+  "The default environment when creating new ones with `ConTeXt-environment'."
   :group 'ConTeXt-environment
   :type 'string)
 (make-variable-buffer-local 'ConTeXt-default-environment)
@@ -1433,14 +1433,16 @@ else.  There might be text before point."
 
 (defun ConTeXt-numbered-section-menu (level)
   "Insert numbered section from menu."
-  (let ((ConTeXt-numbered-section-hook (delq 'ConTeXt-numbered-section-heading
-                                   (copy-sequence 
ConTeXt-numbered-section-hook))))
+  (let ((ConTeXt-numbered-section-hook
+         (delq 'ConTeXt-numbered-section-heading
+              (copy-sequence ConTeXt-numbered-section-hook))))
     (ConTeXt-section level)))
 
 (defun ConTeXt-unnumbered-section-menu (level)
   "Insert unnumbered section from menu."
-  (let ((ConTeXt-unnumbered-section-hook (delq 
'ConTeXt-unnumbered-section-heading
-                                   (copy-sequence 
ConTeXt-unnumbered-section-hook))))
+  (let ((ConTeXt-unnumbered-section-hook
+         (delq 'ConTeXt-unnumbered-section-heading
+              (copy-sequence ConTeXt-unnumbered-section-hook))))
     (ConTeXt-section level)))
 
 (defun ConTeXt-numbered-section-menu-entry (entry)
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 717ee4b..fad97d6 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3533,34 +3533,6 @@ function in @code{TeX-view-program-list} only works if 
the View command
 in @code{TeX-command-list} makes use of the hook
 @code{TeX-run-discard-or-function}.
 
-Note also that the implementation described above replaces an older one
-which was less flexible.  This old implementation works with the
-variables @code{TeX-output-view-style} and @code{TeX-view-style} which
-are used to associate file types and style options with viewers.  If
-desired you can reactivate it by using the placeholder @samp{%vv} for
-the View command in @code{TeX-command-list}.  Note however, that it is
-bound to be removed from @AUCTeX{} once the new implementation proved to
-be satisfactory.  For the time being, find a short description of the
-mentioned customization options below.
-
-@defopt TeX-output-view-style
-List of output file extensions, style options and view options.  Each
-item of the list consists of three elements.  If the first element (a
-regular expression) matches the output file extension, and the second
-element (a regular expression) matches the name of one of the style
-options, any occurrence of the string @code{%V} in a command in
-@code{TeX-command-list} will be replaced with the third element.
-@end defopt
-
-@defopt TeX-view-style
-List of style options and view options.  This is the predecessor of
-@code{TeX-output-view-style} which does not provide the possibility to
-specify output file extensions.  It is used as a fallback in case none
-of the alternatives specified in @code{TeX-output-view-style} match.  In
-case none of the entries in @code{TeX-view-style} match either, no
-suggestion for a viewer is made.
-@end defopt
-
 @node I/O Correlation
 @subsection Forward and Inverse Search
 @cindex Inverse search
diff --git a/doc/changes.texi b/doc/changes.texi
index be0d1cd..cc0156f 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,15 @@
 
 @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
+@code{TeX-command-list} are ignored.
+
+@item
 @AUCTeX{} now uses lexical binding which has been introduced in Emacs
 24.  This change should have no user-visible effect and require no
 manual adaptions except in the following cases.
@@ -47,6 +56,14 @@ previously undeclared variables @code{title}, @code{name}, 
@code{level},
 @code{done-mark}, and @code{toc}.  These variables are now properly
 declared and have the @code{LaTeX-} prefix, e.g.,
 @code{LaTeX-done-mark}.
+
+@item
+The functions in @code{ConTeXt-numbered-section-hook} and
+@code{ConTeXt-unnumbered-section-hook} had access or modified the
+previously undeclared variables @code{title}, @code{name}, @code{level},
+@code{done-mark}, and @code{reference}.  These variables are now
+properly declared and have the @code{ConTeXt-} prefix, e.g.,
+@code{ConTeXt-title}.
 @end itemize
 
 @item
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/latex.el b/latex.el
index 32e51c3..29d8d0e 100644
--- a/latex.el
+++ b/latex.el
@@ -61,7 +61,7 @@
 ;;; Style
 
 (defcustom LaTeX-default-style "article"
-  "*Default when creating new documents."
+  "Default when creating new documents."
   :group 'LaTeX-environment
   :type 'string)
 
@@ -74,7 +74,7 @@ A comma-seperated list of strings."
 (make-variable-buffer-local 'LaTeX-default-options)
 
 (defcustom LaTeX-insert-into-comments t
-  "*Whether insertion commands stay in comments.
+  "Whether insertion commands stay in comments.
 This allows using the insertion commands even when
 the lines are outcommented, like in dtx files."
   :group 'LaTeX-environment
@@ -544,7 +544,7 @@ The behaviour of this hook is controlled by variable 
`LaTeX-section-label'."
   :group 'LaTeX-macro)
 
 (defcustom LaTeX-default-environment "itemize"
-  "*The default environment when creating new ones with `LaTeX-environment'.
+  "The default environment when creating new ones with `LaTeX-environment'.
 It is overridden by `LaTeX-default-document-environment' when it
 is non-nil and the current environment is \"document\"."
   :group 'LaTeX-environment
@@ -960,7 +960,7 @@ optional argument is omitted.)"
 (make-variable-buffer-local 'LaTeX-float)
 
 (defcustom LaTeX-top-caption-list nil
-  "*List of float environments with top caption."
+  "List of float environments with top caption."
   :group 'LaTeX-environment
   :type '(repeat (string :format "%v")))
 
@@ -969,7 +969,7 @@ optional argument is omitted.)"
   :group 'LaTeX)
 
 (defcustom LaTeX-label-function nil
-  "*A function inserting a label at point or returning a label string.
+  "A function inserting a label at point or returning a label string.
 Sole mandatory argument of the function is the environment.  The
 function has to return the label inserted, or nil if no label was
 inserted.  If the optional argument NO-INSERT is non-nil, then
@@ -979,13 +979,13 @@ insertion or nil if no label was read in."
   :type 'function)
 
 (defcustom LaTeX-figure-label "fig:"
-  "*Default prefix to figure labels."
+  "Default prefix to figure labels."
   :group 'LaTeX-label
   :group 'LaTeX-environment
   :type 'string)
 
 (defcustom LaTeX-table-label "tab:"
-  "*Default prefix to table labels."
+  "Default prefix to table labels."
   :group 'LaTeX-label
   :group 'LaTeX-environment
   :type 'string)
@@ -1020,12 +1020,12 @@ If nil, act like the empty string is given, but do not 
prompt."
 (make-variable-buffer-local 'LaTeX-default-position)
 
 (defcustom LaTeX-equation-label "eq:"
-  "*Default prefix to equation labels."
+  "Default prefix to equation labels."
   :group 'LaTeX-label
   :type 'string)
 
 (defcustom LaTeX-eqnarray-label LaTeX-equation-label
-  "*Default prefix to eqnarray labels."
+  "Default prefix to eqnarray labels."
   :group 'LaTeX-label
   :type 'string)
 
@@ -3260,17 +3260,17 @@ consideration just as is in the non-commented source 
code."
   :group 'TeX-indentation)
 
 (defcustom LaTeX-indent-level 2
-  "*Indentation of begin-end blocks in LaTeX."
+  "Indentation of begin-end blocks in LaTeX."
   :group 'LaTeX-indentation
   :type 'integer)
 
 (defcustom LaTeX-item-indent (- LaTeX-indent-level)
-  "*Extra indentation for lines beginning with an item."
+  "Extra indentation for lines beginning with an item."
   :group 'LaTeX-indentation
   :type 'integer)
 
 (defcustom LaTeX-item-regexp "\\(bib\\)?item\\b"
-  "*Regular expression matching macros considered items."
+  "Regular expression matching macros considered items."
   :group 'LaTeX-indentation
   :type 'regexp)
 
@@ -3304,7 +3304,7 @@ functions, see `LaTeX-fill-region-as-paragraph'."
                       (option function))))
 
 (defcustom LaTeX-indent-environment-check t
-  "*If non-nil, check for any special environments."
+  "If non-nil, check for any special environments."
   :group 'LaTeX-indentation
   :type 'boolean)
 
@@ -3314,29 +3314,29 @@ functions, see `LaTeX-fill-region-as-paragraph'."
   :type 'regexp)
 
 (defcustom LaTeX-verbatim-regexp "verbatim\\*?"
-  "*Regexp matching environments with indentation at col 0 for begin/end."
+  "Regexp matching environments with indentation at col 0 for begin/end."
   :group 'LaTeX-indentation
   :type 'regexp)
 (make-obsolete-variable 'LaTeX-verbatim-regexp 
'LaTeX-verbatim-environments-local
                        "2014-12-19")
 
 (defcustom LaTeX-begin-regexp "begin\\b\\|\\["
-  "*Regexp matching macros considered begins."
+  "Regexp matching macros considered begins."
   :group 'LaTeX-indentation
   :type 'regexp)
 
 (defcustom LaTeX-end-regexp "end\\b\\|\\]"
-  "*Regexp matching macros considered ends."
+  "Regexp matching macros considered ends."
   :group 'LaTeX-indentation
   :type 'regexp)
 
 (defcustom LaTeX-left-right-indent-level LaTeX-indent-level
-  "*The level of indentation produced by a \\left macro."
+  "The level of indentation produced by a \\left macro."
   :group 'LaTeX-indentation
   :type 'integer)
 
 (defcustom LaTeX-indent-comment-start-regexp "%"
-  "*Regexp matching comments ending the indent level count.
+  "Regexp matching comments ending the indent level count.
 This means, we just count the LaTeX tokens \\left, \\right, \\begin,
 and \\end up to the first occurence of text matching this regexp.
 Thus, the default \"%\" stops counting the tokens at a comment.  A
@@ -5657,7 +5657,7 @@ environments."
     (vector (car entry) (list 'LaTeX-section-menu (nth 1 entry)) enable)))
 
 (defcustom LaTeX-menu-max-items 25
-  "*Maximum number of items in the menu for LaTeX environments.
+  "Maximum number of items in the menu for LaTeX environments.
 If number of entries in a menu is larger than this value, split menu
 into submenus of nearly equal length.  If nil, never split menu into
 submenus."
@@ -5666,7 +5666,7 @@ submenus."
                 (integer)))
 
 (defcustom LaTeX-submenu-name-format "%-12.12s ... %.12s"
-  "*Format specification of the submenu name.
+  "Format specification of the submenu name.
 Used by `LaTeX-split-long-menu' if the number of entries in a menu is
 larger than `LaTeX-menu-max-items'.
 This string should contain one %s for the name of the first entry and
@@ -6001,23 +6001,23 @@ Install tool bar if `LaTeX-enable-toolbar' is non-nil."
   :group 'TeX-macro)
 
 (defcustom TeX-arg-cite-note-p nil
-  "*If non-nil, ask for optional note in citations."
+  "If non-nil, ask for optional note in citations."
   :type 'boolean
   :group 'LaTeX-macro)
 
 (defcustom TeX-arg-footnote-number-p nil
-  "*If non-nil, ask for optional number in footnotes."
+  "If non-nil, ask for optional number in footnotes."
   :type 'boolean
   :group 'LaTeX-macro)
 
 (defcustom TeX-arg-item-label-p nil
-  "*If non-nil, always ask for optional label in items.
+  "If non-nil, always ask for optional label in items.
 Otherwise, only ask in description environments."
   :type 'boolean
   :group 'LaTeX-macro)
 
 (defcustom TeX-arg-right-insert-p t
-  "*If non-nil, always insert automatically the corresponding \\right.
+  "If non-nil, always insert automatically the corresponding \\right.
 This happens when \\left is inserted."
   :type 'boolean
   :group 'LaTeX-macro)
diff --git a/preview.el b/preview.el
index bc2aa3d..a24bd91 100644
--- a/preview.el
+++ b/preview.el
@@ -210,7 +210,7 @@ function args" :inline t sexp))
     (jpeg jpeg "-sDEVICE=jpeg")
     (pnm pbm "-sDEVICE=pnmraw")
     (tiff tiff "-sDEVICE=tiff12nc"))
-  "*Alist of image types and corresponding Ghostscript options.
+  "Alist of image types and corresponding Ghostscript options.
 The `dvipng' and `postscript' (don't use) entries really specify
 a fallback device when images can't be processed by the requested
 method, like when PDFTeX was used."
@@ -220,7 +220,7 @@ method, like when PDFTeX was used."
                       (repeat :inline t :tag "Ghostscript options" string))))
 
 (defcustom preview-image-type 'png
-  "*Image type to be used in images."
+  "Image type to be used in images."
   :group 'preview-gs
   :type (append '(choice)
                (mapcar (lambda (symbol) (list 'const (car symbol)))
@@ -250,7 +250,7 @@ that is."
   :group 'preview-gs :type 'integer)
 
 (defcustom preview-preserve-indentation t
-  "*Whether to keep additional whitespace at the left of a line."
+  "Whether to keep additional whitespace at the left of a line."
   :group 'preview-appearance :type 'boolean)
 
 (defun preview-extract-bb (filename)
@@ -274,14 +274,14 @@ that is."
        ))))
 
 (defcustom preview-prefer-TeX-bb nil
-  "*Prefer TeX bounding box to EPS one if available.
+  "Prefer TeX bounding box to EPS one if available.
 If `preview-fast-conversion' is set, this option is not
  consulted since the TeX bounding box has to be used anyway."
   :group 'preview-gs
   :type 'boolean)
 
 (defcustom preview-TeX-bb-border 0.5
-  "*Additional space in pt around Bounding Box from TeX."
+  "Additional space in pt around Bounding Box from TeX."
   :group 'preview-gs
   :type 'number)
 
@@ -347,7 +347,7 @@ LIST consists of TeX dimensions in sp (1/65536 TeX point)."
       (executable-find "GSWIN32C.EXE")
       ;; standard GhostScript
       (executable-find "gs"))
-  "*How to call gs for conversion from EPS.  See also `preview-gs-options'."
+  "How to call gs for conversion from EPS.  See also `preview-gs-options'."
   :group 'preview-gs
   :type 'string)
 
@@ -355,7 +355,7 @@ LIST consists of TeX dimensions in sp (1/65536 TeX point)."
                                "-DNOPLATFONTS" "-dPrinted"
                                "-dTextAlphaBits=4"
                                "-dGraphicsAlphaBits=4")
-  "*Options with which to call gs for conversion from EPS.
+  "Options with which to call gs for conversion from EPS.
 See also `preview-gs-command'."
   :group 'preview-gs
   :type '(repeat string))
@@ -370,7 +370,7 @@ Buffer-local to the appropriate TeX process buffer.")
 (make-variable-buffer-local 'preview-gs-outstanding)
 
 (defcustom preview-gs-outstanding-limit 2
-  "*Number of requests allowed to be outstanding.
+  "Number of requests allowed to be outstanding.
 This is the number of not-yet-completed requests we
 might at any time have piped into Ghostscript.  If
 this number is larger, the probability of Ghostscript
@@ -454,7 +454,7 @@ show as response of Ghostscript."
 (make-variable-buffer-local 'preview-gs-file)
 
 (defcustom preview-fast-conversion t
-  "*Set this for single-file PostScript conversion.
+  "Set this for single-file PostScript conversion.
 This will have no effect when `preview-image-type' is
 set to `postscript'."
   :group 'preview-latex
@@ -521,7 +521,7 @@ be consulted recursively.")
 
 (defcustom preview-dvipng-command
   "dvipng -picky -noghostscript %d -o %m/prev%%03d.png"
-  "*Command used for converting to separate PNG images.
+  "Command used for converting to separate PNG images.
 
 You might specify options for converting to other image types,
 but then you'll need to adapt `preview-dvipng-image-type'."
@@ -530,7 +530,7 @@ but then you'll need to adapt `preview-dvipng-image-type'."
 
 (defcustom preview-dvipng-image-type
   'png
-  "*Image type that dvipng produces.
+  "Image type that dvipng produces.
 
 You'll need to change `preview-dvipng-command' too,
 if you customize this."
@@ -541,19 +541,19 @@ if you customize this."
 
 (defcustom preview-dvips-command
   "dvips -Pwww -i -E %d -o %m/preview.000"
-  "*Command used for converting to separate EPS images."
+  "Command used for converting to separate EPS images."
   :group 'preview-latex
   :type 'string)
 
 (defcustom preview-fast-dvips-command
   "dvips -Pwww %d -o %m/preview.ps"
-  "*Command used for converting to a single PS file."
+  "Command used for converting to a single PS file."
   :group 'preview-latex
   :type 'string)
 
 (defcustom preview-pdf2dsc-command
   "pdf2dsc %s.pdf %m/preview.dsc"
-  "*Command used for generating dsc from a PDF file."
+  "Command used for generating dsc from a PDF file."
   :group 'preview-latex
   :type 'string)
 
@@ -1482,7 +1482,7 @@ argument of function `face-attribute' for details."
   (face-attribute face attribute nil inherit))
 
 (defcustom preview-scale-function #'preview-scale-from-face
-  "*Scale factor for included previews.
+  "Scale factor for included previews.
 This can be either a function to calculate the scale, or
 a fixed number."
   :group 'preview-appearance
@@ -1492,22 +1492,21 @@ a fixed number."
                 (function :value preview-scale-from-face)))
 
 (defcustom preview-default-document-pt 10
-  "*Assumed document point size for `preview-scale-from-face'.
+  "Assumed document point size for `preview-scale-from-face'.
 If the point size (such as 11pt) of the document cannot be
 determined from the document options itself, assume this size.
 This is for matching screen font size and previews."
   :group 'preview-appearance
   :type
-          '(choice (const :tag "10pt" 10)
-                  (const :tag "11pt" 11)
-                  (const :tag "12pt" 12)
-                  (number :tag "Other" :value 11.0))
-)
+  '(choice (const :tag "10pt" 10)
+           (const :tag "11pt" 11)
+           (const :tag "12pt" 12)
+           (number :tag "Other" :value 11.0)))
 
 (defcustom preview-document-pt-list '(preview-parsed-font-size
-  preview-auctex-font-size
-  preview-default-document-pt)
-  "*How `preview-document-pt' figures out the document size."
+                                     preview-auctex-font-size
+                                     preview-default-document-pt)
+  "How `preview-document-pt' figures out the document size."
   :group 'preview-appearance
   :type
   '(repeat (choice
@@ -1625,7 +1624,7 @@ Fallback to :inherit and 'default implemented."
 (defcustom preview-auto-reveal
   '(eval (preview-arrived-via (key-binding [left]) (key-binding [right])
                              'backward-char 'forward-char))
-  "*Cause previews to open automatically when entered.
+  "Cause previews to open automatically when entered.
 Possibilities are:
 T autoopens,
 NIL doesn't,
@@ -1817,7 +1816,7 @@ if there was any urgentization."
 
 (defcustom preview-dump-threshold
   "^ *\\\\begin *{document}[ %]*$"
-  "*Regexp denoting end of preamble.
+  "Regexp denoting end of preamble.
 This is the location up to which preamble changes are considered
 to require redumping of a format."
   :group 'preview-latex
@@ -2072,7 +2071,7 @@ overlays not in the active window."
    (overlays-in (ad-get-arg 0) (ad-get-arg 1))))
 
 (defcustom preview-query-replace-reveal t
-  "*Make `query-replace' autoreveal previews."
+  "Make `query-replace' autoreveal previews."
   :group 'preview-appearance
   :type 'boolean
   :require 'preview
@@ -2403,7 +2402,7 @@ BUFFER-MISC is the appropriate data to be used."
                                            desktop-buffer-misc)))))
 
 (defcustom preview-auto-cache-preamble 'ask
-  "*Whether to generate a preamble cache format automatically.
+  "Whether to generate a preamble cache format automatically.
 Possible values are nil, t, and `ask'."
   :group 'preview-latex
   :type '(choice (const :tag "Cache" t)
@@ -2733,7 +2732,7 @@ These are passed regardless of whether there is an 
explicit
 (defcustom preview-default-option-list '("displaymath" "floats"
                                         "graphics" "textmath" "sections"
                                         "footnotes")
-  "*Specifies default options to pass to preview package.
+  "Specifies default options to pass to preview package.
 These options are only used when the LaTeX document in question does
 not itself load the preview package, namely when you use preview
 on a document not configured for preview.  \"auctex\", \"active\",
@@ -2767,7 +2766,7 @@ are selected."
 (defcustom preview-default-preamble
   '("\\RequirePackage[" ("," . preview-default-option-list)
                                      "]{preview}[2004/11/05]")
-  "*Specifies default preamble code to add to a LaTeX document.
+  "Specifies default preamble code to add to a LaTeX document.
 If the document does not itself load the preview package, that is,
 when you use preview on a document not configured for preview, this
 list of LaTeX commands is inserted just before \\begin{document}."
@@ -2785,7 +2784,7 @@ preview-default-preamble "\\fi}\"%' \"\\detokenize{\" %t 
\"}\"")
   ;; Due to this change, \detokenize is required to recognize
   ;; non-ascii characters in the file name when \input is supplemented
   ;; implicitly by %`-%' pair.
-  "*Command used for starting a preview.
+  "Command used for starting a preview.
 See description of `TeX-command-list' for details."
   :group 'preview-latex
   :type preview-expandable-string)
diff --git a/tex-buf.el b/tex-buf.el
index bb5e275..c7b7c8a 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -35,7 +35,7 @@
 ;;; Customization:
 
 (defcustom TeX-process-asynchronous (not (eq system-type 'ms-dos))
-  "*Use asynchronous processes."
+  "Use asynchronous processes."
   :group 'TeX-command
   :type 'boolean)
 
@@ -787,7 +787,7 @@ omitted) and `TeX-region-file'."
                                    #'TeX-command-sequence-sentinel)))))))
 
 (defcustom TeX-save-query t
-  "*If non-nil, ask user for permission to save files before starting TeX."
+  "If non-nil, ask user for permission to save files before starting TeX."
   :group 'TeX-command
   :type 'boolean)
 
@@ -952,29 +952,6 @@ depending on the last command issued."
        (TeX-command "View" 'TeX-active-master 0)
       (message "Output file %S does not exist." output-file))))
 
-(defun TeX-output-style-check (styles)
-  "Check STYLES compared to the current view output file extension and
-the current style options."
-  (let ((ext  (TeX-output-extension))
-       (files (TeX-style-list)))
-    (while (and
-           styles
-           (or
-            (not (string-match (car (car styles)) ext))
-            (let ((style (nth 1 (car styles))))
-              (cond
-               ((listp style)
-                (while
-                    (and style
-                         (TeX-member (car style) files 'string-match))
-                  (setq style (cdr style)))
-                style)
-               ((not (TeX-member style files 'string-match)))))))
-      (setq styles (cdr styles)))
-    (if styles
-       (nth 2 (car styles))
-      "%v")))
-
 ;;; Command Hooks
 
 (defvar TeX-after-compilation-finished-functions nil
@@ -1063,7 +1040,7 @@ requires special treatment."
       (set-process-coding-system process cs cs))))
 
 (defcustom TeX-show-compilation nil
-  "*If non-nil, show output of TeX compilation in other window."
+  "If non-nil, show output of TeX compilation in other window."
   :group 'TeX-command
   :type 'boolean)
 
@@ -1851,12 +1828,6 @@ variable is nil."
 
 ;;; Process Control
 
-
-;; This variable is shared with `compile.el'.
-;; FIXME: Then it should not be defvar'd here!
-(defvar compilation-in-progress nil
-  "List of compilation processes now running.")
-
 ;; COMPATIBILITY for emacs < 27
 (if (< emacs-major-version 27)
     (or (assq 'compilation-in-progress minor-mode-alist)
@@ -2060,7 +2031,7 @@ The compatibility argument IGNORE is ignored."
 ;;; Region File
 
 (defcustom TeX-region-extra ""
-  "*String to insert in the region file between the header and the text."
+  "String to insert in the region file between the header and the text."
   :group 'TeX-command
   :type 'string)
 
@@ -2269,7 +2240,7 @@ The compatibility argument IGNORE is ignored."
                 TeX-region))))
 
 (defcustom TeX-region "_region_"
-  "*Base name of temporary file for `TeX-command-region' and 
`TeX-command-buffer'."
+  "Base name of temporary file for `TeX-command-region' and 
`TeX-command-buffer'."
   :group 'TeX-command
   :type 'string)
 
diff --git a/tex-jp.el b/tex-jp.el
index 41ea4c5..d7eae49 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -226,7 +226,7 @@ systems are determined by their values regardless of the 
kanji option."
          '("/usr/share/texmf/jtex/" "/usr/share/texmf/jbibtex/bst/")))
 
 (defcustom japanese-TeX-error-messages t
-  "*If non-nil, explain TeX error messages in Japanese."
+  "If non-nil, explain TeX error messages in Japanese."
   :group 'AUCTeX-jp
   :type 'boolean)
 
@@ -245,7 +245,7 @@ See also a user custom option 
`TeX-japanese-process-input-coding-system'."
   :type '(choice (const :tag "Default" nil) coding-system))
 
 (defcustom japanese-LaTeX-default-style "jarticle"
-  "*Default when creating new Japanese documents."
+  "Default when creating new Japanese documents."
   :group 'AUCTeX-jp
   :type 'string)
 
@@ -265,7 +265,7 @@ See also a user custom option 
`TeX-japanese-process-input-coding-system'."
     ;; for upLaTeX
     ("ujarticle") ("ujreport") ("ujbook")
     ("utarticle") ("utreport") ("utbook"))
-  "*List of Japanese document classes."
+  "List of Japanese document classes."
   :group 'AUCTeX-jp
   :type '(repeat (group (string :format "%v"))))
 
diff --git a/tex-mik.el b/tex-mik.el
index 9323406..a37cd96 100644
--- a/tex-mik.el
+++ b/tex-mik.el
@@ -43,17 +43,6 @@
   (setq TeX-print-command
        "start \"\" %f"))
 
-(unless (get 'TeX-view-style 'saved-value)
-  (setq TeX-view-style '(("^epsf$" "start \"\" %f")
-                        ("." "yap -1 %dS %d"))))
-
-(unless (get 'TeX-output-view-style 'saved-value)
-  (setq TeX-output-view-style
-       '(("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "dvips %d -o && start \"\" 
%f")
-         ("^dvi$" "." "yap -1 %dS %d")
-         ("^pdf$" "." "start \"\" %o")
-         ("^html?$" "." "start \"\" %o"))))
-
 (unless (get 'TeX-source-specials-view-position-flags 'saved-value)
   (setq TeX-source-specials-view-position-flags "-s %n%b"))
 
diff --git a/tex-site.el.in b/tex-site.el.in
index 64fa7ca..e088fe0 100644
--- a/tex-site.el.in
+++ b/tex-site.el.in
@@ -1,6 +1,6 @@
 ;;; tex-site.el - Site specific variables.  Don't edit.
 
-;; Copyright (C) 2005, 2013, 2016-2018 Free Software Foundation, Inc.
+;; Copyright (C) 2005, 2013, 2016-2018, 2020 Free Software Foundation, Inc.
 ;;
 ;; completely rewritten.
 
@@ -38,8 +38,10 @@
 
 ;;; Code:
 
-(if (< emacs-major-version 24)
-    (error "AUCTeX requires Emacs 24 or later"))
+(when (or (< emacs-major-version 24)
+         (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.
@@ -74,7 +76,7 @@ TeX-auto-* (automatically generated lisp).")
 
 (defcustom TeX-auto-global
     @lispautodir@
-  "*Directory containing automatically generated information.
+  "Directory containing automatically generated information.
 
 For storing automatic extracted information about the TeX macros
 shared by all users of a site."
diff --git a/tex.el b/tex.el
index 4c946cb..6c66f28 100644
--- a/tex.el
+++ b/tex.el
@@ -28,8 +28,10 @@
 
 ;;; Code:
 
-(when (< emacs-major-version 24)
-  (error "AUCTeX requires Emacs 24 or later"))
+(when (or (< emacs-major-version 24)
+         (and (= emacs-major-version 24)
+              (< emacs-minor-version 3)))
+  (error "AUCTeX requires Emacs 24.3 or later"))
 
 (require 'custom)
 (require 'tex-site)
@@ -522,12 +524,6 @@ string."
     ("%V" (lambda ()
            (TeX-source-correlate-start-server-maybe)
            (TeX-view-command-raw)))
-    ("%vv" (lambda ()
-            (TeX-source-correlate-start-server-maybe)
-            (TeX-output-style-check TeX-output-view-style)))
-    ("%v" (lambda ()
-           (TeX-source-correlate-start-server-maybe)
-           (TeX-style-check TeX-view-style)))
     ("%r" (lambda ()
            (TeX-style-check TeX-print-style)))
     ("%l" (lambda ()
@@ -1027,82 +1023,6 @@ If no mode is given the current major mode is used."
   "Calling viewers from AUCTeX."
   :group 'TeX-command)
 
-(defcustom TeX-view-style
-  `((,(concat
-      "^" (regexp-opt '("a4paper" "a4dutch" "a4wide" "sem-a4")) "$")
-     "%(o?)xdvi %dS -paper a4 %d")
-    (,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$")
-     "%(o?)xdvi %dS -paper a5 %d")
-    ("^b5paper$" "%(o?)xdvi %dS -paper b5 %d")
-    ("^letterpaper$" "%(o?)xdvi %dS -paper us %d")
-    ("^legalpaper$" "%(o?)xdvi %dS -paper legal %d")
-    ("^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d")
-    ("^landscape$" "%(o?)xdvi %dS -paper a4r -s 0 %d")
-    ;; The latest xdvi can show embedded postscript.  If you don't
-    ;; have that, uncomment next line.
-    ;; ("^epsf$" "ghostview %f")
-    ("." "%(o?)xdvi %dS %d"))
-  "List of style options and view options.
-
-If the first element (a regular expression) matches the name of
-one of the style files, any occurrence of the string `%v' in a
-command in `TeX-command-list' will be replaced with the second
-element.  The first match is used, if no match is found the `%v'
-is replaced with the empty string.
-
-As a default, the \"View\" command in `TeX-command-list' is set
-to `%V'.  This means that `TeX-output-view-style' will be
-consulted before `TeX-view-style'.  Only if no match is found in
-`TeX-output-view-style' the settings in `TeX-view-style' will be
-considered.  If you want to bypass `TeX-output-view-style', which
-is not recommended because it is more powerful than
-`TeX-view-style', use `%v' in the \"View\" command."
-  :group 'TeX-view
-  :type '(repeat (group regexp (string :tag "Command"))))
-
-(defcustom TeX-output-view-style
-  `(("^dvi$" ("^landscape$" "^pstricks$\\|^pst-\\|^psfrag$")
-     "%(o?)dvips -t landscape %d -o && gv %f")
-    ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "%(o?)dvips %d -o && gv %f")
-    ("^dvi$" (,(concat
-               "^" (regexp-opt '("a4paper" "a4dutch" "a4wide" "sem-a4")) "$")
-             "^landscape$")
-     "%(o?)xdvi %dS -paper a4r -s 0 %d")
-    ("^dvi$" ,(concat
-              "^" (regexp-opt '("a4paper" "a4dutch" "a4wide" "sem-a4")) "$")
-     "%(o?)xdvi %dS -paper a4 %d")
-    ("^dvi$" (,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$")
-             "^landscape$")
-     "%(o?)xdvi %dS -paper a5r -s 0 %d")
-    ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$")
-     "%(o?)xdvi %dS -paper a5 %d")
-    ("^dvi$" "^b5paper$" "%(o?)xdvi %dS -paper b5 %d")
-    ("^dvi$" "^letterpaper$" "%(o?)xdvi %dS -paper us %d")
-    ("^dvi$" "^legalpaper$" "%(o?)xdvi %dS -paper legal %d")
-    ("^dvi$" "^executivepaper$" "%(o?)xdvi %dS -paper 7.25x10.5in %d")
-    ("^dvi$" "." "%(o?)xdvi %dS %d")
-    ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)")
-    ("^html?$" "." "netscape %o"))
-  "List of output file extensions and view options.
-
-If the first element (a regular expression) matches the output
-file extension, and the second element (a regular expression)
-matches the name of one of the style options, any occurrence of
-the string `%V' in a command in `TeX-command-list' will be
-replaced with the third element.  The first match is used; if no
-match is found the `%V' is replaced with `%v'.  The outcome of `%v'
-is determined by the settings in `TeX-view-style' which therefore
-serves as a fallback for `TeX-output-view-style'.  The second
-element may also be a list of regular expressions, in which case
-all the regular expressions must match for the element to apply."
-  :group 'TeX-view
-  :type '(repeat (group
-                 (regexp :tag "Extension")
-                 (choice regexp (repeat :tag "List" regexp))
-                 (string :tag "Command"))))
-
-;;; Viewing (new implementation)
-
 (defvar TeX-view-predicate-list-builtin
   '((output-dvi
      (string-match "dvi" (TeX-output-extension)))
@@ -2215,19 +2135,19 @@ for backward compatibility."
   :group 'TeX-command)
 
 (defcustom TeX-command-BibTeX "BibTeX"
-  "*The name of the BibTeX entry in `TeX-command-list'."
+  "The name of the BibTeX entry in `TeX-command-list'."
   :group 'TeX-command-name
   :type 'string)
   (make-variable-buffer-local 'TeX-command-BibTeX)
 
 (defcustom TeX-command-Biber "Biber"
-  "*The name of the Biber entry in `TeX-command-list'."
+  "The name of the Biber entry in `TeX-command-list'."
   :group 'TeX-command-name
   :type 'string)
   (make-variable-buffer-local 'TeX-command-Biber)
 
 (defcustom TeX-command-Show "View"
-  "*The default command to show (view or print) a TeX file.
+  "The default command to show (view or print) a TeX file.
 Must be the car of an entry in `TeX-command-list'."
   :group 'TeX-command-name
   :type 'string)
@@ -2320,7 +2240,7 @@ output files."
 ;;; Master File
 
 (defcustom TeX-master t
-  "*The master file associated with the current buffer.
+  "The master file associated with the current buffer.
 If the file being edited is actually included from another file, you
 can tell AUCTeX the name of the master file by setting this variable.
 If there are multiple levels of nesting, specify the top level file.
@@ -2352,7 +2272,7 @@ the Emacs manual) to set this variable permanently for 
each file."
            (member x (quote (t nil shared dwim))))))
 
 (defcustom TeX-one-master "\\.\\(texi?\\|dtx\\)$"
-  "*Regular expression matching ordinary TeX files.
+  "Regular expression matching ordinary TeX files.
 
 You should set this variable to match the name of all files, where
 automatically adding a file variable with the name of the master file
@@ -2556,14 +2476,14 @@ Return nil otherwise."
 ;;; Style Paths
 
 (defcustom TeX-style-global (expand-file-name "style" TeX-data-directory)
-  "*Directory containing hand generated TeX information.
+  "Directory containing hand generated TeX information.
 
 These correspond to TeX macros shared by all users of a site."
   :group 'TeX-file
   :type 'directory)
 
 (defcustom TeX-auto-local "auto"
-  "*Directory containing automatically generated TeX information.
+  "Directory containing automatically generated TeX information.
 
 This correspond to TeX macros found in the current directory, and must
 be relative to that."
@@ -2571,7 +2491,7 @@ be relative to that."
   :type 'string)
 
 (defcustom TeX-style-local "style"
-  "*Directory containing hand generated TeX information.
+  "Directory containing hand generated TeX information.
 
 These correspond to TeX macros found in the current directory, and must
 be relative to that."
@@ -2831,7 +2751,7 @@ Texinfo files, due to ambiguous style name, as this may 
cause bad
 side effect e.g. on variable `TeX-font-list'.")
 
 (defcustom TeX-byte-compile nil
-  "*Not nil means try to byte compile auto files before loading."
+  "Not nil means try to byte compile auto files before loading."
   :group 'TeX-parse
   :type 'boolean)
 
@@ -3120,7 +3040,7 @@ FORCE is not nil."
   :group 'AUCTeX)
 
 (defcustom TeX-complete-word 'ispell-complete-word
-  "*Function to call for completing non-macros in `tex-mode'."
+  "Function to call for completing non-macros in `tex-mode'."
   :type 'function
   :group 'TeX-macro)
 
@@ -3274,14 +3194,14 @@ See `completion-at-point-functions'."
        nil))))
 
 (defcustom TeX-default-macro "ref"
-  "*The default macro when creating new ones with `TeX-insert-macro'."
+  "The default macro when creating new ones with `TeX-insert-macro'."
   :group 'TeX-macro
   :type 'string)
 
 (make-variable-buffer-local 'TeX-default-macro)
 
 (defcustom TeX-insert-braces t
-  "*If non-nil, append a empty pair of braces after inserting a macro.
+  "If non-nil, append a empty pair of braces after inserting a macro.
 
 See also `TeX-insert-braces-alist'."
   :group 'TeX-macro
@@ -3666,7 +3586,7 @@ component\\|onderdeel\\|komponent[ea]\\|componenta\\)\
      "\\\\\\(begin\\|\\(?:sub\\)\\{0,2\\}section\\|chapter\\|documentstyle\\|\
 documentclass\\)\\b")
     ("TEX" plain-tex-mode "."))
-  "*List of format packages to consider when choosing a TeX mode.
+  "List of format packages to consider when choosing a TeX mode.
 
 A list with an entry for each format package available at the site.
 
@@ -3680,14 +3600,14 @@ When entering `tex-mode', each regexp is tried in turn 
in order to find
 the major mode to be used.")
 
 (defcustom TeX-default-mode 'latex-mode
-  "*Mode to enter for a new file when it can't be determined otherwise."
+  "Mode to enter for a new file when it can't be determined otherwise."
   :group 'TeX-misc
   :type '(radio (function-item latex-mode)
                (function-item plain-tex-mode)
                (function :tag "Other")))
 
 (defcustom TeX-force-default-mode nil
-  "*If set to nil, try to infer the mode of the file from its content."
+  "If set to nil, try to infer the mode of the file from its content."
   :group 'TeX-misc
   :type 'boolean)
 
@@ -3981,12 +3901,12 @@ Generated by `TeX-auto-add-type'.")
   nil)
 
 (defcustom TeX-auto-save nil
-  "*Automatically save style information when saving the buffer."
+  "Automatically save style information when saving the buffer."
   :group 'TeX-parse
   :type 'boolean)
 
 (defcustom TeX-auto-untabify nil
-  "*Automatically untabify when saving the buffer."
+  "Automatically untabify when saving the buffer."
   :group 'TeX-parse
   :type 'boolean)
 
@@ -4014,12 +3934,12 @@ Generated by `TeX-auto-add-type'.")
          (message "Can't write style information.")))))
 
 (defcustom TeX-macro-default (car-safe TeX-macro-private)
-  "*Default directory to search for TeX macros."
+  "Default directory to search for TeX macros."
   :group 'TeX-file
   :type 'directory)
 
 (defcustom TeX-auto-default (car-safe TeX-auto-private)
-  "*Default directory to place automatically generated TeX information."
+  "Default directory to place automatically generated TeX information."
   :group 'TeX-file
   :type 'directory)
 
@@ -4417,7 +4337,7 @@ Check for potential LaTeX environments."
   :group 'TeX-file)
 
 (defcustom TeX-file-extensions '("tex" "sty" "cls" "ltx" "texi" "txi" 
"texinfo" "dtx")
-  "*File extensions used by manually generated TeX files."
+  "File extensions used by manually generated TeX files."
   :group 'TeX-file-extension
   :type '(repeat (regexp :format "%v")))
 
@@ -4427,7 +4347,7 @@ Check for potential LaTeX environments."
   :type '(repeat (regexp :format "%v")))
 
 (defcustom TeX-default-extension "tex"
-  "*Default extension for TeX files."
+  "Default extension for TeX files."
   :group 'TeX-file-extension
   :type 'string)
 
@@ -4439,7 +4359,7 @@ Check for potential LaTeX environments."
   "File extensions of documentation files.")
 
 (defcustom docTeX-default-extension "dtx"
-  "*Default extension for docTeX files."
+  "Default extension for docTeX files."
   :group 'TeX-file-extension
   :type 'string)
 
@@ -5384,7 +5304,7 @@ regardless of its data type."
   :group 'AUCTeX)
 
 (defcustom TeX-brace-indent-level 2
-  "*The level of indentation produced by an open brace."
+  "The level of indentation produced by an open brace."
   :group 'TeX-indentation
   :type 'integer)
 
@@ -5843,7 +5763,7 @@ See also `TeX-font-replace' and 
`TeX-font-replace-function'."
 ;; The following constants are no longer used, but kept in case some
 ;; foreign code uses any of them.
 (defvar TeX-dollar-sign ?$
-  "*Character used to enter and leave math mode in TeX.")
+  "Character used to enter and leave math mode in TeX.")
 (defconst TeX-dollar-string (char-to-string TeX-dollar-sign))
 (defconst TeX-dollar-regexp
   (concat "^" (regexp-quote TeX-dollar-string) "\\|[^" TeX-esc "]"
diff --git a/texmathp.el b/texmathp.el
index 37658f3..2a8519b 100644
--- a/texmathp.el
+++ b/texmathp.el
@@ -228,7 +228,7 @@ The structure of each entry is (NAME TYPE)
       (const :tag "Switch: toggles math mode of following text" sw-toggle)))))
 
 (defcustom texmathp-search-n-paragraphs 2
-  "*Number of paragraphs to check before point.
+  "Number of paragraphs to check before point.
 Normally, you cannot have an empty line in a math environment in (La)TeX.
 The fastest method to test for math mode is then limiting the search
 backward to the nearest empty line.
@@ -239,7 +239,7 @@ empty lines we go back to fix the search limit."
   :type 'number)
 
 (defcustom texmathp-allow-detached-args nil
-  "*Non-nil means, allow arguments of macros to be detached by whitespace.
+  "Non-nil means, allow arguments of macros to be detached by whitespace.
 When this is t, `aaa' will be interpreted as an argument of \\bbb in the
 following construct:  \\bbb [xxx] {aaa}
 This is legal in TeX.  The disadvantage is that any number of braces 
expressions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]