[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/auto-dim-other-buffers 8062977284 10/82: face is real face
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/auto-dim-other-buffers 8062977284 10/82: face is real face |
Date: |
Mon, 12 Dec 2022 20:58:38 -0500 (EST) |
branch: elpa/auto-dim-other-buffers
commit 80629772844f9538ea54928e1eb3994e5fe42f71
Author: Steven Degutis <sbdegutis@gmail.com>
Commit: Steven Degutis <sbdegutis@gmail.com>
face is real face
---
README.md | 4 ++--
auto-dim-other-buffers.el | 10 +++-------
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 2ae1fe809f..575cc84327 100644
--- a/README.md
+++ b/README.md
@@ -8,5 +8,5 @@ Use [MELPA](http://melpa.milkbox.net/): `M-x package-install
RET auto-dim-other-
## Usage
-* `M-x turn-on-auto-dim-other-buffers`
-* Customize `auto-dim-other-buffers-face`
+* `M-x turn-on-auto-dim-other-buffers RET`
+* `M-x customize-face RET auto-dim-other-buffers-face RET`
diff --git a/auto-dim-other-buffers.el b/auto-dim-other-buffers.el
index 5592dfb5a9..ba5c65847b 100644
--- a/auto-dim-other-buffers.el
+++ b/auto-dim-other-buffers.el
@@ -4,12 +4,8 @@
;; URL: https://github.com/sdegutis/auto-dim-other-buffers.el
;; Version: 1.2
-(make-face 'sd/dimmed-font)
-(set-face-attribute 'sd/dimmed-font nil :background "black")
-
-(defcustom auto-dim-other-buffers-face 'sd/dimmed-font
+(defface auto-dim-other-buffers-face '((t :background "black"))
"Face (presumably dimmed somehow) for non-current buffers."
- :type 'face
:group 'auto-dim-other-buffers)
(defun adob/pre-command-hook ()
@@ -30,7 +26,7 @@
)
(set-buffer adob/last-buffer)
- (buffer-face-set auto-dim-other-buffers-face))
+ (buffer-face-set 'auto-dim-other-buffers-face))
;; now, restore the current buffer, and undim it.
(set-buffer original)
@@ -47,7 +43,7 @@
(adob/set-face-on-all-buffers nil))
(defun adob/dim-all-windows ()
- (adob/set-face-on-all-buffers auto-dim-other-buffers-face))
+ (adob/set-face-on-all-buffers 'auto-dim-other-buffers-face))
(defun turn-off-auto-dim-other-buffers ()
(interactive)
- [nongnu] elpa/auto-dim-other-buffers e4ef0a93ca 66/82: Unconditionally undim selected buffer when focus is regained, (continued)
- [nongnu] elpa/auto-dim-other-buffers e4ef0a93ca 66/82: Unconditionally undim selected buffer when focus is regained, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers a87cf772ac 61/82: Dim only the last buffer when loosing focus, ELPA Syncer, 2022/12/12
- [nongnu] elpa/auto-dim-other-buffers 087baafa08 51/82: Move minibuffer check to the beginning of ‘adob--buffer-list-update-hook’, ELPA Syncer, 2022/12/12
- [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 <=
- [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, 2022/12/12
- [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