File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 4
4
5
5
; ; Author: Abdelhak Bougouffa (rot13 "nobhtbhssn@srqbencebwrpg.bet")
6
6
; ; Created: 2022-09-20
7
- ; ; Last modified: 2025-04-19
7
+ ; ; Last modified: 2025-04-30
8
8
9
9
; ;; Commentary:
10
10
52
52
; ; Highly customizable startup screen for Emacs
53
53
(use-package enlight
54
54
:straight (:host github :repo " ichernyshovvv/enlight" )
55
+ :hook (enlight-mode . +enlight-responsive-h)
55
56
:custom
56
57
(enlight-content
57
58
(enlight-menu
68
69
(enlight-open)
69
70
(setq initial-buffer-choice #'enlight ))
70
71
:config
71
- (satch-add-hook
72
- '(window-size-change-functions window-state-change-functions)
73
- (satch-defun +enlight--recenter-h (&optional _frame)
74
- ; ; When in Enlight's buffer, we recall `enlight-open' to refresh and recenter the buffer
75
- (when (eq (current-buffer ) (get-buffer enlight-buffer-name))
76
- (enlight)))))
72
+ (defun +enlight-responsive-h ()
73
+ (satch-add-hook
74
+ '(window-size-change-functions window-state-change-functions)
75
+ (satch-defun +enlight--recenter-h (&optional _frame)
76
+ ; ; When in Enlight's buffer, we recall `enlight-open' to refresh and recenter the buffer
77
+ (when (eq (current-buffer ) (get-buffer enlight-buffer-name))
78
+ (enlight)))
79
+ nil 'local )))
77
80
78
81
79
82
; ; Display "^L" page breaks as tidy horizontal lines
You can’t perform that action at this time.
0 commit comments