Daemon: recognise more dedicated window titles

This commit is contained in:
TEC 2022-01-08 02:42:55 +08:00
parent f36793ac87
commit 8354af0f62
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 1 deletions

View File

@ -1403,7 +1403,7 @@ I prefer the dashboard, so let's ensure that's always switched to in new frames.
(when (daemonp)
(add-hook 'emacs-startup-hook #'greedily-do-daemon-setup)
(add-hook! 'server-after-make-frame-hook
(unless (string-match-p "\\*draft" (buffer-name))
(unless (string-match-p "\\*draft\\|\\*stdin\\|emacs-everywhere" (buffer-name))
(switch-to-buffer +doom-dashboard-name))))
#+end_src
*** Emacs client wrapper