Fix bug introduced in d5631db

This commit is contained in:
Lars Tveito 2019-12-09 12:35:28 +01:00
parent e9e841aed4
commit 2fbf024c53

View File

@ -131,8 +131,8 @@ It sets the `focus-pre-overlay', `focus-min-overlay', and
focus-mid-overlay (make-overlay (point-min) (point-max)) focus-mid-overlay (make-overlay (point-min) (point-max))
focus-post-overlay (make-overlay (point-max) (point-max)) focus-post-overlay (make-overlay (point-max) (point-max))
focus-buffer (current-buffer)) focus-buffer (current-buffer))
(overlay-put focus-mid-overlay 'face 'focus-focused-face) (overlay-put focus-mid-overlay 'face 'focus-focused)
(mapc (lambda (o) (overlay-put o 'face 'focus-unfocused-face)) (mapc (lambda (o) (overlay-put o 'face 'focus-unfocused))
(list focus-pre-overlay focus-post-overlay)) (list focus-pre-overlay focus-post-overlay))
(add-hook 'post-command-hook 'focus-move-focus nil t) (add-hook 'post-command-hook 'focus-move-focus nil t)
(add-hook 'change-major-mode-hook 'focus-terminate nil t))) (add-hook 'change-major-mode-hook 'focus-terminate nil t)))