diff options
author | Christian Cunningham <cc@localhost> | 2024-06-01 18:24:00 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2024-06-01 18:24:00 -0700 |
commit | 309c2594f1c7e3e07f80fadc4ff09b4b38fe77f1 (patch) | |
tree | 93cee23c9bfdffa30854142fd2d69a00570519ce | |
parent | ad71ce854a412295063e2d12c8519a504dc77525 (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)) |