[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico ae9bd0c8ea: Use ensure-list, fix whitespace war
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico ae9bd0c8ea: Use ensure-list, fix whitespace warnings |
Date: |
Sat, 14 Jan 2023 08:58:52 -0500 (EST) |
branch: externals/vertico
commit ae9bd0c8eaba12a2495b11f2622adb78b5d86bcf
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use ensure-list, fix whitespace warnings
---
extensions/vertico-buffer.el | 2 +-
extensions/vertico-flat.el | 2 +-
extensions/vertico-grid.el | 2 +-
extensions/vertico-indexed.el | 4 ++--
extensions/vertico-multiform.el | 10 +++++-----
extensions/vertico-quick.el | 4 ++--
extensions/vertico-repeat.el | 6 +++---
extensions/vertico-reverse.el | 2 +-
extensions/vertico-unobtrusive.el | 2 +-
vertico.el | 4 ++--
10 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/extensions/vertico-buffer.el b/extensions/vertico-buffer.el
index 2bcb4cad7d..b79f6ab1e1 100644
--- a/extensions/vertico-buffer.el
+++ b/extensions/vertico-buffer.el
@@ -27,7 +27,7 @@
;;; Commentary:
;; This package is a Vertico extension, which displays Vertico in a
-;; buffer instead of the minibuffer. The buffer display can be enabled
+;; buffer instead of the minibuffer. The buffer display can be enabled
;; by the `vertico-buffer-mode'.
;;; Code:
diff --git a/extensions/vertico-flat.el b/extensions/vertico-flat.el
index 14ed966a51..105ff26f05 100644
--- a/extensions/vertico-flat.el
+++ b/extensions/vertico-flat.el
@@ -29,7 +29,7 @@
;; This package is a Vertico extension providing a horizontal display.
;;
;; The mode can be enabled globally or via `vertico-multiform-mode' per
-;; command or completion category. Alternatively the flat display can be
+;; command or completion category. Alternatively the flat display can be
;; toggled temporarily if `vertico-multiform-mode' is enabled:
;;
;; (keymap-set vertico-map "M-F" #'vertico-multiform-flat)
diff --git a/extensions/vertico-grid.el b/extensions/vertico-grid.el
index a5d4edd522..0947ecc467 100644
--- a/extensions/vertico-grid.el
+++ b/extensions/vertico-grid.el
@@ -29,7 +29,7 @@
;; This package is a Vertico extension providing a grid display.
;;
;; The mode can be enabled globally or via `vertico-multiform-mode' per
-;; command or completion category. Alternatively the grid display can be
+;; command or completion category. Alternatively the grid display can be
;; toggled temporarily if `vertico-multiform-mode' is enabled:
;;
;; (keymap-set vertico-map "M-G" #'vertico-multiform-grid)
diff --git a/extensions/vertico-indexed.el b/extensions/vertico-indexed.el
index f6a8175927..37cbe307aa 100644
--- a/extensions/vertico-indexed.el
+++ b/extensions/vertico-indexed.el
@@ -27,8 +27,8 @@
;;; Commentary:
;; This package is a Vertico extension, which prefixes candidates with indices
-;; if enabled via `vertico-indexed-mode'. It allows you to select candidates
-;; with prefix arguments. This is designed to be a faster alternative to
+;; if enabled via `vertico-indexed-mode'. It allows you to select candidates
+;; with prefix arguments. This is designed to be a faster alternative to
;; selecting a candidate with `vertico-next' and `vertico-previous'.
;;; Code:
diff --git a/extensions/vertico-multiform.el b/extensions/vertico-multiform.el
index 2306ebc125..c7f0a1d26d 100644
--- a/extensions/vertico-multiform.el
+++ b/extensions/vertico-multiform.el
@@ -28,7 +28,7 @@
;; This package is a Vertico extension for fine tuning the Vertico
;; display and other minibuffer modes per command or completion
-;; category. For some commands you may want to use the `vertico-buffer'
+;; category. For some commands you may want to use the `vertico-buffer'
;; display and for completion categories like file you prefer the
;; `vertico-grid-mode'.
;;
@@ -47,7 +47,7 @@
;; (vertico-multiform-mode)
;;
;; Temporary toggling between the different display modes is
-;; possible. Bind the following commands:
+;; possible. Bind the following commands:
;;
;; (keymap-set vertico-map "M-V" #'vertico-multiform-vertical)
;; (keymap-set vertico-map "M-G" #'vertico-multiform-grid)
@@ -62,16 +62,16 @@
(defcustom vertico-multiform-commands nil
"Alist of commands/regexps and list of settings to turn on per command.
-Takes precedence over `vertico-multiform-categories'. A setting can
+Takes precedence over `vertico-multiform-categories'. A setting can
either be a mode symbol, a function, an inverted mode symbol or
-function, or a cons cell of variable name and value. The key t can be
+function, or a cons cell of variable name and value. The key t can be
used to specify catch all/default settings."
:group 'vertico
:type '(alist :key-type (choice symbol regexp (const t)) :value-type (repeat
sexp)))
(defcustom vertico-multiform-categories nil
"Alist of categories/regexps and list of settings to turn on per category.
-See `vertico-multiform-commands' on details about the settings. The
+See `vertico-multiform-commands' on details about the settings. The
category settings have lower precedence than
`vertico-multiform-commands'."
:group 'vertico
diff --git a/extensions/vertico-quick.el b/extensions/vertico-quick.el
index 0498daa83c..c95055373c 100644
--- a/extensions/vertico-quick.el
+++ b/extensions/vertico-quick.el
@@ -27,8 +27,8 @@
;;; Commentary:
;; This package is a Vertico extension, which prefixes candidates with
-;; quick keys. Typing these quick keys allows you to select the
-;; candidate in front of them. This is designed to be a faster
+;; quick keys. Typing these quick keys allows you to select the
+;; candidate in front of them. This is designed to be a faster
;; alternative to selecting a candidate with `vertico-next' and
;; `vertico-previous'.
;; (keymap-set vertico-map "M-q" #'vertico-quick-insert)
diff --git a/extensions/vertico-repeat.el b/extensions/vertico-repeat.el
index 4e0a3940b7..bb12e5bce1 100644
--- a/extensions/vertico-repeat.el
+++ b/extensions/vertico-repeat.el
@@ -28,11 +28,11 @@
;; This package is a Vertico extension, which enables repetition of
;; Vertico sessions via the `vertico-repeat', `vertico-repeat-last' and
-;; `vertico-repeat-select' commands. If the repeat commands are called
+;; `vertico-repeat-select' commands. If the repeat commands are called
;; from an existing Vertico minibuffer session, only sessions
;; corresponding to the current minibuffer command are offered via
-;; completion. It is necessary to register a minibuffer setup hook,
-;; which saves the Vertico state for repetition. In order to save the
+;; completion. It is necessary to register a minibuffer setup hook,
+;; which saves the Vertico state for repetition. In order to save the
;; history across Emacs sessions, enable `savehist-mode' and add
;; `vertico-repeat-history' to `savehist-additional-variables'.
;;
diff --git a/extensions/vertico-reverse.el b/extensions/vertico-reverse.el
index aad8988c84..832200e827 100644
--- a/extensions/vertico-reverse.el
+++ b/extensions/vertico-reverse.el
@@ -29,7 +29,7 @@
;; This package is a Vertico extension, which reverses the list of candidates.
;;
;; The mode can be enabled globally or via `vertico-multiform-mode' per
-;; command or completion category. Alternatively the reverse display can be
+;; command or completion category. Alternatively the reverse display can be
;; toggled temporarily if `vertico-multiform-mode' is enabled:
;;
;; (keymap-set vertico-map "M-R" #'vertico-multiform-reverse)
diff --git a/extensions/vertico-unobtrusive.el
b/extensions/vertico-unobtrusive.el
index 5897e7a9a2..1069d9a576 100644
--- a/extensions/vertico-unobtrusive.el
+++ b/extensions/vertico-unobtrusive.el
@@ -31,7 +31,7 @@
;; else, it is a simple derivative of `vertico-flat-mode'.
;;
;; The mode can be enabled globally or via `vertico-multiform-mode' per
-;; command or completion category. Alternatively the unobtrusive display
+;; command or completion category. Alternatively the unobtrusive display
;; can be toggled temporarily if `vertico-multiform-mode' is enabled:
;;
;; (keymap-set vertico-map "M-U" #'vertico-multiform-unobtrusive)
diff --git a/vertico.el b/vertico.el
index addb244000..f4b4782906 100644
--- a/vertico.el
+++ b/vertico.el
@@ -27,7 +27,7 @@
;;; Commentary:
;; Vertico provides a performant and minimalistic vertical completion UI
-;; based on the default completion system. By reusing the built-in
+;; based on the default completion system. By reusing the built-in
;; facilities, Vertico achieves full compatibility with built-in Emacs
;; completion commands and completion tables.
@@ -587,7 +587,7 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
PRED."
(while (< beg end)
(let ((next (next-single-property-change beg 'face obj end)))
(when-let (val (get-text-property beg 'face obj))
- (put-text-property beg next 'face (remq face (if (listp val) val (list
val))) obj))
+ (put-text-property beg next 'face (remq face (ensure-list val)) obj))
(setq beg next))))
(defun vertico--exhibit ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico ae9bd0c8ea: Use ensure-list, fix whitespace warnings,
ELPA Syncer <=