[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/focus 246eaeb8d1 72/82: Define faces for the unfocused and
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/focus 246eaeb8d1 72/82: Define faces for the unfocused and focused regions |
Date: |
Tue, 6 Sep 2022 04:58:59 -0400 (EDT) |
branch: elpa/focus
commit 246eaeb8d16a57ba6b6b524568ef0e1599650935
Author: Lars Tveito <larstvei@ifi.uio.no>
Commit: Lars Tveito <larstvei@ifi.uio.no>
Define faces for the unfocused and focused regions
---
focus.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/focus.el b/focus.el
index 76480aa93d..16690d1725 100644
--- a/focus.el
+++ b/focus.el
@@ -59,14 +59,13 @@ Things that are defined include `symbol', `list', `sexp',
:type '(float)
:group 'focus)
-(defcustom focus-unfocused-face 'font-lock-comment-face
+(defface focus-unfocused-face
+ '((t :inherit font-lock-comment-face))
"The face that overlays the unfocused area."
- :type '(face)
:group 'focus)
-(defcustom focus-focused-face nil
+(defface focus-focused-face nil
"The face that overlays the focused area."
- :type '(face)
:group 'focus)
(defvar focus-cursor-type cursor-type
@@ -132,8 +131,8 @@ It sets the `focus-pre-overlay', `focus-min-overlay', and
focus-mid-overlay (make-overlay (point-min) (point-max))
focus-post-overlay (make-overlay (point-max) (point-max))
focus-buffer (current-buffer))
- (overlay-put focus-mid-overlay 'face focus-focused-face)
- (mapc (lambda (o) (overlay-put o 'face focus-unfocused-face))
+ (overlay-put focus-mid-overlay 'face 'focus-focused-face)
+ (mapc (lambda (o) (overlay-put o 'face 'focus-unfocused-face))
(list focus-pre-overlay focus-post-overlay))
(add-hook 'post-command-hook 'focus-move-focus nil t)
(add-hook 'change-major-mode-hook 'focus-terminate nil t)))
- [nongnu] elpa/focus ac711fe13a 35/82: Whitespace cleanup, (continued)
- [nongnu] elpa/focus ac711fe13a 35/82: Whitespace cleanup, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 35f3cf5d52 20/82: Use things as defined in thingatpt as bounds, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 871f3c60ce 48/82: Fixed matching parenthesis, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus fe94e0de69 43/82: Split activation/deactivation into functions, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 2fbf024c53 79/82: Fix bug introduced in d5631db, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 6add57b887 59/82: Fix indentation, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 563a3bd188 47/82: Updated README, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus d1bd81ee4d 39/82: Added focus-read-only-mode, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 4c8391ea32 29/82: Fixed bug in defgroup, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus b21341bd40 38/82: Added function for briefly showing the cursor, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 246eaeb8d1 72/82: Define faces for the unfocused and focused regions,
ELPA Syncer <=
- [nongnu] elpa/focus b90cfb3c27 50/82: Fix #4, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus f590761dac 46/82: focus-read-only-mode calls for version bump, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 01a7a95334 27/82: Changed paragraph to section in README, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus cd2aad5590 31/82: Cleaned up focus-dimness docstring, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 5753e25fdf 30/82: fixed the focus-average-colors docstring, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus fee47bc7c9 11/82: Decrease the width of the gifs, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus abad47f1c4 53/82: Add functions to pin/unpin the focused section, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus 3a2c4f1198 67/82: Merge pull request #19 from jcs-PR/master, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus a723f78dc4 37/82: Added function for hiding the cursor, ELPA Syncer, 2022/09/06
- [nongnu] elpa/focus d5631db0b6 73/82: Remove `face`-suffix from faces, ELPA Syncer, 2022/09/06