[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vcomplete 14429ac79d 20/91: Exits 'completion-in-region-mo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vcomplete 14429ac79d 20/91: Exits 'completion-in-region-mode' when completions aren't visible |
Date: |
Tue, 24 May 2022 15:59:06 -0400 (EDT) |
branch: elpa/vcomplete
commit 14429ac79d532995e9268ce5e39c91defca1956c
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
Exits 'completion-in-region-mode' when completions aren't visible
* vcomplete.el (vcomplete--update-in-region): Exit
'completion-in-region-mode' when there is no completion list buffer
window.
---
vcomplete.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/vcomplete.el b/vcomplete.el
index f61903139f..829bdb22a0 100644
--- a/vcomplete.el
+++ b/vcomplete.el
@@ -215,9 +215,11 @@ With prefix argument N, move N items (negative N means
move forward)."
"Update the completion list when completing in-region."
(while-no-input
(redisplay)
- (unless (string= (vcomplete--last-string-in-region-1)
- vcomplete--last-string)
- (completion-help-at-point))))
+ (if (get-buffer-window "*Completions*")
+ (unless (string= (vcomplete--last-string-in-region-1)
+ vcomplete--last-string)
+ (completion-help-at-point))
+ (completion-in-region-mode -1))))
(defun vcomplete--reset-vars ()
"Reset variables used by Vcomplete to their default values."
- [nongnu] elpa/vcomplete dce24e895d 18/91: Replaced current completion variables with a function, (continued)
- [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
- [nongnu] elpa/vcomplete b6fd11b7c4 31/91: ; Update mail address, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 369a9fb9c4 03/91: ; Ignore Emacs' backup files, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete b1fa61dffd 16/91: Change the way the current completion is highlighted, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 14429ac79d 20/91: Exits 'completion-in-region-mode' when completions aren't visible,
ELPA Syncer <=
- [nongnu] elpa/vcomplete 29423a4aa1 37/91: ; Documentation improvements, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 8441803b7a 38/91: Split 'vcomplete--setup-current' into two functions, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 50d812fc6a 39/91: Remove unnecessary hook removal, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 6684bd7640 41/91: ; Update info node to remove disclaimer for bug fixed in last commit, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete b14444ef8a 45/91: ; Edit docstrings to conform completely to 'checkdoc', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 371e7c9b77 46/91: ; Add requirement for Embark to vcomplete-embark.el, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete d086a33a1a 49/91: * vcomplete.el (vcomplete-with-completions-buffer): Use 'derived-mode-p', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 20e327acce 53/91: ; Indicate that Embark integration has been moved in the NEWS file, ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 89fd222097 56/91: ; Improve docstring of 'vcomplete--disable-completion-in-region', ELPA Syncer, 2022/05/24
- [nongnu] elpa/vcomplete 45adfdd13e 55/91: ; Document last commit in the NEWS file, ELPA Syncer, 2022/05/24