From 2fbf024c53096add36f19bb8d267dc1c16494f9b Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Mon, 9 Dec 2019 12:35:28 +0100 Subject: [PATCH] Fix bug introduced in d5631db --- focus.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/focus.el b/focus.el index 82343d8..f3e8350 100644 --- a/focus.el +++ b/focus.el @@ -131,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) + (mapc (lambda (o) (overlay-put o 'face 'focus-unfocused)) (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)))