Fix dashboard on daemon/emacsclient.

This commit is contained in:
KJ 2023-05-18 10:11:24 -04:00
parent 023f11c25e
commit c1b7a9b120
1 changed files with 3 additions and 7 deletions

View File

@ -100,14 +100,10 @@
(message "Corriendo en modo daemon.") (message "Corriendo en modo daemon.")
(set-face-attribute 'default nil :font "Fira Code Retina" :height 112) (set-face-attribute 'default nil :font "Fira Code Retina" :height 112)
;; Set the fixed pitch face
;;(set-face-attribute 'fixed-pitch nil :font "Fira Code Retina")
;; Set the variable pitch face
;;(set-face-attribute 'variable-pitch nil :font "Cantarell" :weight 'regular)
;; Abrir primero el dashboard ;; Abrir primero el dashboard
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) (setq initial-buffer-choice (lambda ()
(get-buffer "*dashboard*")
(dashboard-refresh-buffer)))
;; Cerrar buffers al cerrar emacsclient ;; Cerrar buffers al cerrar emacsclient
(add-hook 'delete-frame-functions (add-hook 'delete-frame-functions