[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult-recoll 8ba4d4b9b8 39/50: hide cursor in non-sel
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult-recoll 8ba4d4b9b8 39/50: hide cursor in non-selected preview windows |
Date: |
Sat, 6 Aug 2022 18:57:43 -0400 (EDT) |
branch: externals/consult-recoll
commit 8ba4d4b9b898016f765e6f18ac294166ff7796e6
Author: jao <jao@gnu.org>
Commit: jao <jao@gnu.org>
hide cursor in non-selected preview windows
---
consult-recoll.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/consult-recoll.el b/consult-recoll.el
index eec67cec4e..9f3c7a6107 100644
--- a/consult-recoll.el
+++ b/consult-recoll.el
@@ -142,6 +142,7 @@ Set to nil to use the default 'title (path)' format."
"Preview search result CANDIDATE when ACTION is \\='preview."
(cond ((or (eq action 'setup) (null candidate))
(with-current-buffer (get-buffer-create
consult-recoll--preview-buffer)
+ (setq-local cursor-in-non-selected-windows nil)
(delete-region (point-min) (point-max))))
((and (eq action 'preview) candidate)
(when-let* ((url (consult-recoll--candidate-url candidate))
@@ -153,7 +154,8 @@ Set to nil to use the default 'title (path)' format."
(insert (propertize url 'face 'consult-recoll-url-face) "\n")
(insert (propertize (consult-recoll--candidate-mime candidate)
'face 'consult-recoll-mime-face))
- (when-let (s (consult-recoll--snippets candidate)) (insert "\n"
s)))
+ (when-let (s (consult-recoll--snippets candidate)) (insert "\n"
s))
+ (goto-char (point-min)))
(pop-to-buffer buff)))
((eq action 'exit)
(when (get-buffer consult-recoll--preview-buffer)
- [elpa] externals/consult-recoll ba3fcb8bae 28/50: readme: melpa badges, (continued)
- [elpa] externals/consult-recoll ba3fcb8bae 28/50: readme: melpa badges, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 9ce929510f 47/50: fix: reset index and current for every new search term, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll d550a76ffb 24/50: a bit more structure, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 85a527af31 27/50: wee commentary tweaks, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 57f2a5552f 31/50: Version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 0105066d19 32/50: readme nits and screenshot, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 370a31d1c4 09/50: MELPA review, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 357654bedd 04/50: customisable formatter and candidate openers, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 1b21fa157b 16/50: version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c824a2fea2 21/50: fix for C-u consult-recoll, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 8ba4d4b9b8 39/50: hide cursor in non-selected preview windows,
ELPA Syncer <=
- [elpa] externals/consult-recoll 3399c32322 23/50: readme, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll a2ee98e057 45/50: version bump, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 91ff9793b5 25/50: readme improvements, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 8e45c4d3df 42/50: new feature: inline snippets, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll eab09d7fe6 44/50: documentation nits (section levels), ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll d9bb5e191e 33/50: docstring nit, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 42dea1d40f 18/50: consult-recoll: prefix argument to ask for initial input, ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll 89457fe055 37/50: Revert "back to the previous regexp, it's more precise in the common case", ELPA Syncer, 2022/08/06
- [elpa] externals/consult-recoll c57d3e7913 50/50: FSF copyright transfer and .gitignore, ELPA Syncer, 2022/08/06