[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/preview-auto 3b0dc96643 34/36: add missing :type
From: |
ELPA Syncer |
Subject: |
[elpa] externals/preview-auto 3b0dc96643 34/36: add missing :type |
Date: |
Thu, 6 Jun 2024 03:59:55 -0400 (EDT) |
branch: externals/preview-auto
commit 3b0dc96643b06c19f18ac42d14b0b5310eb8b4f9
Author: Paul Nelson <ultrono@gmail.com>
Commit: Paul Nelson <ultrono@gmail.com>
add missing :type
---
preview-auto.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/preview-auto.el b/preview-auto.el
index e68e53fbb4..39c31522d7 100644
--- a/preview-auto.el
+++ b/preview-auto.el
@@ -72,7 +72,8 @@ For this to have any effect, it must be set before
(defcustom preview-auto-detect-math-via-font-lock '(tex-mode TeX-mode)
"List of modes in which to use font-lock to detect math environments.
This is faster than using `texmathp', but may not work outside tex major
-modes without additional setup. Set to `nil' to always use `texmathp'."
+modes without additional setup. Set to `nil' to always use
+`texmathp' (e.g., if you work in LaTeX-mode with font-lock disabled)."
:type '(repeat symbol))
(defun preview-auto--math-p ()
@@ -135,11 +136,13 @@ Returns non-nil if either
t)))
(defcustom preview-auto-check-function #'preview-auto--check-default
- "Predicate for checking whether to consider a delimiter.")
+ "Predicate for checking whether to consider a delimiter."
+ :type 'function)
(defun preview-auto--search (regexp bound)
"Search for REGEXP before BOUND.
-Ignore comments and verbatim environments."
+Ignore anything for which the call to `preview-auto-check-function'
+returns nil."
(catch 'found
(while (re-search-forward regexp bound t)
(when (funcall preview-auto-check-function)
@@ -153,7 +156,7 @@ the correct form."
:type 'boolean)
(defconst preview-auto--refresh-delay '(0 1)
- "Delay in seconds before refreshing previews after compilation.
+ "Delay, as a time value, before refreshing previews after compilation.
This is used to avoid refreshing previews while the aux file is in some
intermediate state.")
- [elpa] externals/preview-auto 0887964888 12/36: clean up, add readme, (continued)
- [elpa] externals/preview-auto 0887964888 12/36: clean up, add readme, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 7cd2a48cbd 17/36: remove cl-lib dependency, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 17f845637d 16/36: Fix weird capitalization bug, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 0123c04c53 19/36: clean-up docstring, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 0e0f015a9b 23/36: indentation, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 712c8c078a 24/36: Check for math faces only with "$" delimiters, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 49851857d1 26/36: fix, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 8d3b46acd2 27/36: Add "%" to list of barriers, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto f2b404cc96 28/36: Make sure preview-move-point is in post-command-hook, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 305341df9d 29/36: Make delimiter inclusion checking customizable, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 3b0dc96643 34/36: add missing :type,
ELPA Syncer <=
- [elpa] externals/preview-auto f07b210e05 10/36: Allow automatic refresh of previews after compilation, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 596c902166 18/36: correct docstring, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto dc7d7aa450 30/36: Configure font-lock to detect math regions, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 67121ad1c5 33/36: tweak readme, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 0d8ccac798 36/36: fix typo, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 7d7207a4dd 14/36: fix bug involving editing region updates, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto a9e0fd5de9 06/36: tidy, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto e3315721e1 04/36: simplifications, optimizations, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 2806a42660 07/36: reduce default preview-auto-interval to 0.1, ELPA Syncer, 2024/06/06
- [elpa] externals/preview-auto 55404b8599 13/36: correct version number, ELPA Syncer, 2024/06/06