[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vcomplete cbdde2fc09 61/91: Define a face for highlighting
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vcomplete cbdde2fc09 61/91: Define a face for highlighting completions |
Date: |
Tue, 24 May 2022 15:59:09 -0400 (EDT) |
branch: elpa/vcomplete
commit cbdde2fc09b5d016537a8e14ec5629fbdb985c1e
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>
Define a face for highlighting completions
* vcomplete.el (vcomplete-highlight): New face.
(vcomplete--highlight-completion-at-point): Use 'vcomplete-highlight'.
---
NEWS | 4 ++++
vcomplete.el | 6 +++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/NEWS b/NEWS
index 64ec9b69f3..9df7f5d1bf 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,10 @@ See the end of the file for an explanation of the versioning
scheme.
* 1.1 (in development)
+** Add the 'vcomplete-highlight' face.
+This face is used to highlight completions. By default, it is the same
+as the built-in 'highlight' face.
+
** Add 'vcomplete-no-update-commands'.
This custom variable is used to control which commands shouldn't cause
the completions list buffer to update.
diff --git a/vcomplete.el b/vcomplete.el
index f720ee8904..2ec35db83f 100644
--- a/vcomplete.el
+++ b/vcomplete.el
@@ -101,6 +101,10 @@ Otherwise, operate according to `completion-auto-help'."
:risky t
:package-version '(vcomplete . 1.1))
+(defface vcomplete-highlight '((t :inherit highlight))
+ "Face for highlighting completions."
+ :package-version '(vcomplete . 1.1))
+
;;;; Completion commands:
(defmacro vcomplete-with-completions-buffer (&rest body)
@@ -155,7 +159,7 @@ isn't a completion list buffer."
(overlay-put
(setq vcomplete--last-completion-overlay
(make-overlay (car pos) (cdr pos)))
- 'face 'highlight)))))
+ 'face 'vcomplete-highlight)))))
(defun vcomplete--move-n-completions (n)
"Move N completions in the `*Completions*' buffer."
- [nongnu] elpa/vcomplete 68b3a86741 14/91: ; Fix incorrect short description of Info node, (continued)
- [nongnu] elpa/vcomplete 68b3a86741 14/91: ; Fix incorrect short description of Info node, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 2995fb124d 33/91: ; Add disclaimer regarding Embark integration, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 0f5505cd54 36/91: ; Add a link to the relevant part of the manual for 'vcomplete-auto-update', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 668f16f903 43/91: ; Bump to version 1.0, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 3c00d732a2 51/91: Remove 'vcomplete--reset-vars', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 62428759ac 47/91: ; Change required Emacs version according to package-lint, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 9aa2d01fb9 52/91: ; Improvements to the manual, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete aa4bdbf080 11/91: * vcomplete.el (vcomplete-mode): Ensure variables are reset, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 556a6c2cff 08/91: ; Document recent changes in the NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 8a921cf088 48/91: ; Optimize require's in vcomplete-embark.el, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete cbdde2fc09 61/91: Define a face for highlighting completions,
ELPA Syncer <=
- [nongnu] elpa/vcomplete 0bbc9b391b 69/91: ; Improve docstrings and comments, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 18164dd260 71/91: ; Another small change to 'vcomplete-mode's docstring, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 6a3b02df46 76/91: * vcomplete.el (vcomplete-with-completions-buffer): Allow debugging body, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete dce24e895d 18/91: Replaced current completion variables with a function, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 36ae2920e4 17/91: * vcomplete.el (vcomplete-kill-buffer): Remove to simplify the package, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 12def7b143 19/91: Highlight the completion at point in the completion list buffer, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete a7eb3b9365 25/91: ; Fixes and improvements to the Info node, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 6bc410d948 27/91: Handle cases where 'vcomplete-mode' starts before loading Embark, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete e37470eb13 05/91: ; Fix indentation, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 39f0aead10 13/91: Fix 'vcomplete--update-in-region' added to 'post-command-hook' globally, ELPA Syncer, 2022/05/24