Skip to content

Commit

Permalink
Fix bug introduced in d5631db
Browse files Browse the repository at this point in the history
  • Loading branch information
larstvei committed Dec 9, 2019
1 parent e9e841a commit 2fbf024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions focus.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 2fbf024

Please sign in to comment.