[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/auto-dim-other-buffers b1562a1200 38/82: Wrap `adob--dim-a
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/auto-dim-other-buffers b1562a1200 38/82: Wrap `adob--dim-all-buffers' into a lambda when adding as a hook |
Date: |
Mon, 12 Dec 2022 20:58:41 -0500 (EST) |
branch: elpa/auto-dim-other-buffers
commit b1562a12000298008a8f94208365cc41a69d1b9e
Author: 7696122 <7696122@gmail.com>
Commit: Michal Nazarewicz <mina86@mina86.com>
Wrap `adob--dim-all-buffers' into a lambda when adding as a hook
`focus-out-hook's are called with no arguments but since commit
[e64bdbd: Use `face-remap-add-relative' to not interfere with
`buffer-face-mode'], `adob--dim-all-buffers' function requires
one. To make it work as a `focus-out-hook', it needs to be
wrapped inside of a lambda.
[mina86@mina86.com: reworded commit message]
---
auto-dim-other-buffers.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/auto-dim-other-buffers.el b/auto-dim-other-buffers.el
index e6f18f0e21..67ed07d987 100644
--- a/auto-dim-other-buffers.el
+++ b/auto-dim-other-buffers.el
@@ -8,7 +8,7 @@
;; Michal Nazarewicz <mina86@mina86.com>
;; Maintainer: Michal Nazarewicz <mina86@mina86.com>
;; URL: https://github.com/mina86/auto-dim-other-buffers.el
-;; Version: 1.6.1
+;; Version: 1.6.2
;; This file is not part of GNU Emacs.
@@ -114,7 +114,7 @@ function."
"Add (if CALLBACK is `add-hook') or remove (if `remove-hook') adob hooks."
(dolist (args
'((post-command-hook adob--post-command-hook)
- (focus-out-hook adob--dim-all-buffers)
+ (focus-out-hook (lambda () (adob--dim-all-buffers t)))
(focus-in-hook adob--after-change-major-mode-hook)
(after-change-major-mode-hook adob--after-change-major-mode-hook)
(next-error-hook 'adob--after-change-major-mode-hook)))
- [nongnu] elpa/auto-dim-other-buffers bedeef9ea3 70/82: Support ‘adow-mode’ since the first Emacs 27 preview releases, (continued)
- [nongnu] elpa/auto-dim-other-buffers bedeef9ea3 70/82: Support ‘adow-mode’ since the first Emacs 27 preview releases, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers cad370fb6c 72/82: Preserve current-buffer, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 191d714ebb 68/82: Dim individual windows rather than buffers, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers ed9ebbcc52 74/82: Define Auto Dim Other Buffers customise group, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 0a103b09eb 73/82: Require 'face-remap to silence compilation warning, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers a1c67bf557 81/82: Update screenshot animation and demo video link, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers c9fe23d03c 79/82: Allow configuring which faces to alter; not just the ‘default’, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 8062977284 10/82: face is real face, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 7f332de332 17/82: oops, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 7502775f38 29/82: Use a shorter lighter for the mode., ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers b1562a1200 38/82: Wrap `adob--dim-all-buffers' into a lambda when adding as a hook,
ELPA Syncer <=
- [nongnu] elpa/auto-dim-other-buffers b599ff6db9 57/82: Better clean up when disabling the mode; remove arg from dim-all-buffers, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 53dd9b68fb 59/82: Ignore all hidden buffers, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 6c8804c7d2 58/82: Remove mode’s lighter, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers b3999f9728 48/82: Fix missing closing paren, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 0fba90826b 69/82: Sneakily link to phrxmd’s video demonstrating the mode, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 774fe859f8 64/82: Fix ‘auto-dim-other-buffers-dim-on-switch-to-minibuffer’ behaviour, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers f712de72d4 67/82: Optimise ‘never dim’ check, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 62c936d502 78/82: Fix buffer undimming when local variables are killed, ELPA Syncer, 2022/12/12