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

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

[elpa] externals/auctex 3447aa75c3 32/77: ; Further fixes about single q


From: Tassilo Horn
Subject: [elpa] externals/auctex 3447aa75c3 32/77: ; Further fixes about single quotes in docstrings
Date: Fri, 26 Aug 2022 16:06:35 -0400 (EDT)

branch: externals/auctex
commit 3447aa75c3a055b023538025417045e856d9974e
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>

    ; Further fixes about single quotes in docstrings
    
    * preview.el.in (preview-transparent-border, preview-toggle):
    * style/graphicx.el (LaTeX-arg-graphicx-includegraphics-key-val):
    * style/l3doc.el (LaTeX-env-l3doc-function):
    * style/listings.el (LaTeX-listings-auto-prepare)
    (LaTeX-listings-auto-cleanup)
    (LaTeX-listings-lstdefinestyle-regexp):
    * style/sidecap.el (LaTeX-env-sidecap-float):
    * style/tikz.el (TeX-TikZ-find-named-points):
    * tex-fold.el (TeX-fold-region-macro-or-env): Fix warnings about
    wrong usage of unescaped single quotes in docstrings.
---
 preview.el.in     | 6 +++---
 style/graphicx.el | 6 +++---
 style/l3doc.el    | 6 +++---
 style/listings.el | 8 ++++----
 style/sidecap.el  | 2 +-
 style/tikz.el     | 4 ++--
 tex-fold.el       | 4 ++--
 7 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/preview.el.in b/preview.el.in
index 96c5706683..253900dff4 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -1707,13 +1707,13 @@ to the default background in most other cases."
   "Width of transparent border for previews in pt.
 Setting this to a numeric value will add a border of
 `preview-transparent-color' around images, and will turn
-the heuristic-mask setting of images to default to 't since
+the heuristic-mask setting of images to default to t since
 then the borders are correctly detected even in case of
 palette operations.  If the transparent color is something
 not present otherwise in the image, the cursor display
 will affect just this border.  A width of 0 is interpreted
 by PostScript as meaning a single pixel, other widths are
-interpreted as PostScript points (1/72 of 1in)"
+interpreted as PostScript points (1/72 of 1in)."
   :group 'preview-appearance
   :type '(choice (const :value nil :tag "No border")
                  (number :value 1.5 :tag "Border width in pt")))
@@ -1945,7 +1945,7 @@ definition of OV, AFTER-CHANGE, BEG, END and LENGTH."
 (defun preview-toggle (ov &optional arg event)
   "Toggle visibility of preview overlay OV.
 ARG can be one of the following: t displays the overlay,
-nil displays the underlying text, and 'toggle toggles.
+nil displays the underlying text, and \\='toggle toggles.
 If EVENT is given, it indicates the window where the event
 occured, either by being a mouse event or by directly being
 the window in question.  This may be used for cursor restoration
diff --git a/style/graphicx.el b/style/graphicx.el
index 0e1e220095..e9e42011ac 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -1,6 +1,6 @@
 ;;; graphicx.el --- AUCTeX style file for graphicx.sty  -*- lexical-binding: 
t; -*-
 
-;; Copyright (C) 2000, 2004, 2005, 2014--2021 by Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2004, 2005, 2014--2022 by Free Software Foundation, Inc.
 
 ;; Author: Ryuichi Arafune <arafune@debian.org>
 ;; Created: 1999/3/20
@@ -89,8 +89,8 @@ Temporarily remove \"space\" from `crm-local-completion-map' 
and
 `minibuffer-local-completion-map' in order to be able to insert
 spaces conveniently.
 
-If `TeX-engine' is set to symbol 'default (while
-`TeX-PDF-from-DVI' is set to nil) or 'luatex and `TeX-PDF-mode'
+If `TeX-engine' is set to symbol \\='default (while
+`TeX-PDF-from-DVI' is set to nil) or \\='luatex and `TeX-PDF-mode'
 is non-nil, add the keys \"page\" and \"pagebox\" to list of
 key-val's."
   (let ((crm-local-completion-map
diff --git a/style/l3doc.el b/style/l3doc.el
index e51e83a472..8364e74e94 100644
--- a/style/l3doc.el
+++ b/style/l3doc.el
@@ -48,9 +48,9 @@
 
 (defun LaTeX-env-l3doc-function (environment)
   "Insert the ENVIRONMENT provided by l3doc.cls.
-This function should be used for the environments 'function' and
-'variable' provided by the l3doc class.  Also ask the user if a
-'syntax' environment should be added as well."
+This function should be used for the environments \"function\" and
+\"variable\" provided by the l3doc class.  Also ask the user if a
+\"syntax\" environment should be added as well."
   (let* ((time (format-time-string "%Y-%m-%d" (current-time)))
          (exp-flag (TeX-read-key-val t `(("added" (,time))
                                          ("updated" (,time))
diff --git a/style/listings.el b/style/listings.el
index 93853cba42..8bd39e2a28 100644
--- a/style/listings.el
+++ b/style/listings.el
@@ -1,6 +1,6 @@
 ;;; listings.el --- AUCTeX style for `listings.sty'  -*- lexical-binding: t; 
-*-
 
-;; Copyright (C) 2004, 2005, 2009, 2013-2021 Free Software Foundation, Inc.
+;; Copyright (C) 2004, 2005, 2009, 2013-2022 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <angeli@iwi.uni-sb.de>
 ;; Maintainer: auctex-devel@gnu.org
@@ -295,7 +295,7 @@
 (defvar LaTeX-listings-lstdefinestyle-regexp
   '("\\\\lstdefinestyle{\\([^}]+\\)}"
     1 LaTeX-auto-listings-lstdefinestyle)
-  "Matches the argument of '\\lstdefinestyle' from 'listings' package.")
+  "Matches the argument of \\='\\lstdefinestyle\\=' from listings package.")
 
 ;; Setup for parsing the labels inside optional arguments:
 
@@ -306,12 +306,12 @@
   "Matches the label inside an optional argument after \\begin{lstlisting}.")
 
 (defun LaTeX-listings-auto-prepare ()
-  "Clear temporary variable from 'listings' package before parsing."
+  "Clear temporary variable from listings package before parsing."
   (setq LaTeX-auto-listings-lstnewenvironment nil)
   (setq LaTeX-auto-listings-lstdefinestyle    nil))
 
 (defun LaTeX-listings-auto-cleanup ()
-  "Process the parsed results of 'listings' package."
+  "Process the parsed results of listings package."
   (dolist (env-args LaTeX-auto-listings-lstnewenvironment)
     (let ((env  (car   env-args))
           (args (cadr  env-args))
diff --git a/style/sidecap.el b/style/sidecap.el
index ff175173e6..0cc55b35d4 100644
--- a/style/sidecap.el
+++ b/style/sidecap.el
@@ -37,7 +37,7 @@
 (defun LaTeX-env-sidecap-float (environment)
   "Create ENVIRONMENT with \\caption and \\label commands.
 This function runs `LaTeX-env-figure' and inserts the first
-optional argument 'relwidth' provided by environments of the
+optional argument \\='relwidth\\=' provided by environments of the
 package sidecap."
   (let ((relwidth (TeX-read-string
                    (TeX-argument-prompt t nil "Relative caption width")))
diff --git a/style/tikz.el b/style/tikz.el
index f3a50bc404..4a2fb583b3 100644
--- a/style/tikz.el
+++ b/style/tikz.el
@@ -1,6 +1,6 @@
 ;;; tikz.el --- AUCTeX style for `tikz.sty'  -*- lexical-binding: t; -*-
 
-;; Copyright (C) 2016-2021  Free Software Foundation, Inc.
+;; Copyright (C) 2016-2022  Free Software Foundation, Inc.
 
 ;; Author: Matthew Leach <matthew@mattleach.net>
 ;; Maintainer: auctex-devel@gnu.org
@@ -199,7 +199,7 @@ is finished."
   "Find TiKZ named points in current enviroment.
 Begin by finding the span of the current TikZ enviroment and then
 searching within that span to find all named-points and return
-them as a list of strings, dropping the '()'."
+them as a list of strings, dropping the \\='()\\='."
   (let* ((env-end (save-excursion
                     (LaTeX-find-matching-end)
                      (point)))
diff --git a/tex-fold.el b/tex-fold.el
index 6d50f31404..f8853457ae 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -311,8 +311,8 @@ and `TeX-fold-math-spec-list', and environments in 
`TeX-fold-env-spec-list'."
 
 (defun TeX-fold-region-macro-or-env (start end type)
   "Fold all items of type TYPE in region from START to END.
-TYPE can be one of the symbols 'env for environments, 'macro
-for macros and 'math for math macros."
+TYPE can be one of the symbols \\='env for environments, \\='macro
+for macros and \\='math for math macros."
   (save-excursion
     (let (fold-list item-list regexp)
       (dolist (item (cond ((eq type 'env) TeX-fold-env-spec-list-internal)



reply via email to

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