Remove hook that close buffers used on emacsclient.

This commit is contained in:
KJ 2023-10-25 14:54:31 -04:00
parent f29a3bb673
commit be51f082f7

View File

@ -166,10 +166,10 @@
(dashboard-refresh-buffer))) (dashboard-refresh-buffer)))
;; Cerrar buffers al cerrar emacsclient ;; Cerrar buffers al cerrar emacsclient
(add-hook 'delete-frame-functions ;; (add-hook 'delete-frame-functions
(lambda (frame) ;; (lambda (frame)
(mapc 'kill-buffer (delq (get-buffer "*dashboard*") (buffer-list))) ;; (mapc 'kill-buffer (delq (get-buffer "*dashboard*") (buffer-list)))
)) ;; ))
) )
(if (daemonp) (if (daemonp)