[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/why-this f0ef9e3730 51/59: Show overlay only on selected w
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/why-this f0ef9e3730 51/59: Show overlay only on selected window |
Date: |
Sun, 27 Nov 2022 16:02:54 -0500 (EST) |
branch: elpa/why-this
commit f0ef9e3730dd3ec4ca8608ad1ab997ef610d2576
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Show overlay only on selected window
---
why-this.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/why-this.el b/why-this.el
index 5b9dd48af3..f540e68678 100644
--- a/why-this.el
+++ b/why-this.el
@@ -42,8 +42,8 @@
:link '(url-link "https://codeberg.org/akib/emacs-why-this")
:prefix "why-this-")
-(defcustom why-this-backends '(why-this-git
- why-this-hg)
+(defcustom why-this-backends (list #'why-this-git
+ #'why-this-hg)
"List of enabled backends.
Each backend is a function taking variable number of arguments, where
@@ -64,7 +64,9 @@ the first argument is the command (which is a symbol):
`:author' Name of the author.
`:time' Time of change (local).
`:desc' Single line description of change."
- :type '(repeat (function :tag "Backend"))
+ :type 'hook
+ :options (list #'why-this-git
+ #'why-this-hg)
:package-version '(why-this "1.0"))
(defcustom why-this-message-time-format #'why-this-relative-time
@@ -427,6 +429,7 @@ TIME-FORMAT is used to format data."
(overlay-put ov 'why-this-column column)
(overlay-put ov 'why-this-line (+ begin i))
(overlay-put ov 'why-this-bg-type type)
+ (overlay-put ov 'window (selected-window))
(push ov why-this--overlays)))))))
(defun why-this--render-non-blocking ()
- [nongnu] elpa/why-this fa904a7fae 50/59: Make lines no longer than 75 characters, (continued)
- [nongnu] elpa/why-this fa904a7fae 50/59: Make lines no longer than 75 characters, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this a8d01707ce 58/59: Add .dir-locals.el, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 17f7963cfc 46/59: Use faces instead of variables for colors, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this b3a7f874b8 53/59: Don't error on binary files, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this bca895def5 55/59: Add .elpaignore, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this c7f771736c 44/59: Remove obsolete use of define-minor-mode, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 2c8c35ca10 57/59: Bump version to 2.0.3, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 258f010001 54/59: Bump version to 2.0.2, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 0975f5b57f 48/59: Fix #2: Truncate long lines in annotation buffer, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this da0fa6da7e 52/59: Bump version to 2.0.1, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this f0ef9e3730 51/59: Show overlay only on selected window,
ELPA Syncer <=
- [nongnu] elpa/why-this f18b8d8d18 43/59: Lower required Emacs version, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this c5d192cfee 56/59: Some cleanup, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 4552587fd4 49/59: Determine line width correctly, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this ca4cf46d6e 40/59: Don't error on nonexistant parent directory, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 066786ede1 17/59: Add README, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this a4e7a1a126 47/59: Bump version to 2.0, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this 71baf80f9a 42/59: Don't use overlays while annonating, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this a706d26b7c 45/59: Fix wrong face in annonate buffer, ELPA Syncer, 2022/11/27
- [nongnu] elpa/why-this b69263c66b 41/59: Fix "Invalid face attribute :background nil", ELPA Syncer, 2022/11/27