diff options
| author | Christian Cunningham <cc@local.lan> | 2024-06-01 18:24:00 -0700 |
|---|---|---|
| committer | Christian Cunningham <cc@local.lan> | 2024-06-01 18:24:00 -0700 |
| commit | 3f366446d249d3cd407023e932085fb875087d82 (patch) | |
| tree | 93cee23c9bfdffa30854142fd2d69a00570519ce | |
| parent | f3bfa07623e1a13ee71bcdf0751ae6bda5449437 (diff) | |
Automatically Open Dashboard on New Frames
| -rw-r--r-- | elchemy-util.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elchemy-util.el b/elchemy-util.el index d3ee112..3cde626 100644 --- a/elchemy-util.el +++ b/elchemy-util.el @@ -37,7 +37,9 @@ (cond ((find-font (font-spec :name "Andale Mono")) (set-frame-font "Andale Mono-14"))) - (set-face-attribute 'default nil :height 140))) + (set-face-attribute 'default nil :height 140) + (if (get-buffer "*Dashboard*") + (switch-to-buffer "*Dashboard*")))) (defun elchemy/my-silly-frame-config (&optional frame) (with-selected-frame (or frame (selected-frame)) |
