[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-goggles 3b874c7630 178/225: Set mark advice: show hin
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-goggles 3b874c7630 178/225: Set mark advice: show hint on whitespace-only lines |
Date: |
Wed, 12 Jan 2022 08:59:06 -0500 (EST) |
branch: elpa/evil-goggles
commit 3b874c7630d8d6c316ad2cd8efdc0b8dcd407dac
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Set mark advice: show hint on whitespace-only lines
---
evil-goggles.el | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/evil-goggles.el b/evil-goggles.el
index f36b2216cb..9671cc800a 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -652,16 +652,10 @@ CHAR POS ADVANCE are the arguments of the original
function."
(evil-goggles--funcall-preserve-interactive orig-fun char pos advance)
;; maybe show the goggles overlay
(when (<= ?a char ?z)
- (save-excursion
- (when pos
- (goto-char pos))
- (let ((beg (save-excursion
- (move-beginning-of-line nil)
- (point)))
- (end (1+ (save-excursion
- (move-end-of-line nil)
- (point)))))
- (evil-goggles--show-hint beg end 'evil-goggles-set-marker-face)))))
+ (let ((beg (line-beginning-position))
+ (end (1+ (line-end-position)))
+ (evil-goggles--hint-on-empty-lines t))
+ (evil-goggles--with-async-hint beg end 'evil-goggles-set-marker-face))))
;;; ex global
- [nongnu] elpa/evil-goggles c7e3f6ff17 116/225: Remove incorrectly commited snippet, (continued)
- [nongnu] elpa/evil-goggles c7e3f6ff17 116/225: Remove incorrectly commited snippet, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 4777cd7849 121/225: Show hint after indenting, not before #7, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 287491d0a0 124/225: Add WIP support for per-action durations, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles f5e98355f4 135/225: Use one function for `evil-paste-after` and `evil-paste-before` advices, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles d705bef9d4 134/225: Fix CI failing, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles f6519214b8 149/225: Update README.md, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 5db6848df8 154/225: Undo adds should show a blocking hint, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 440324a1ed 161/225: Silence compilation warning for unused lexical variable, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 3dce5937ac 166/225: Pulsing is no longer experimental, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 4d4465fd59 168/225: Improve logic deciding whether to pulse or not, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 3b874c7630 178/225: Set mark advice: show hint on whitespace-only lines,
ELPA Syncer <=
- [nongnu] elpa/evil-goggles ca18c944ed 179/225: Show hint on start/stop record macro, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 943382b367 194/225: Add hints for surround, commentary, nerd commenter, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 04d66ddc20 201/225: Add hint for `q`, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles b896ca797c 211/225: Add support for evil-org. Close #21, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 2186289a01 213/225: evil-goggles--show-p: no need to check evil-inhibit-operator-value, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 42456816de 015/225: Use macros to preserve "interactivity", ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles dd76fd3d28 019/225: Make sure the overlay is cleaned-up, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 1014993453 028/225: Add custom variable evil-goggles-blacklist to allow disabling individual functions, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles f29820fe98 029/225: Detect only `evil-inhibit-operator-value` into account, ELPA Syncer, 2022/01/12
- [nongnu] elpa/evil-goggles 9882706667 030/225: Preserve the return value of evil-paste-*, ELPA Syncer, 2022/01/12