mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix run-hooks: wrong-number-of-args error for daemon users
This commit is contained in:
@ -35,8 +35,8 @@
|
||||
:config
|
||||
(when (daemonp)
|
||||
(add-hook! 'doom-switch-frame-hook
|
||||
(defun +doom-disable-solaire-mode-maybe-h (frame)
|
||||
(if (display-graphic-p frame)
|
||||
(defun +doom-disable-solaire-mode-maybe-h ()
|
||||
(if (display-graphic-p)
|
||||
(solaire-global-mode +1)
|
||||
(solaire-global-mode -1)))))
|
||||
|
||||
|
Reference in New Issue
Block a user