mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Minor reformatting & refactors across the board
This commit is contained in:
@ -24,12 +24,12 @@
|
||||
(doom-modeline-def-modeline 'emacs-everywhere
|
||||
'(bar modals emacs-everywhere buffer-position word-count parrot selection-info)
|
||||
'(input-method major-mode checker))
|
||||
(defun emacs-everywhere-set-modeline ()
|
||||
(doom-modeline-set-modeline 'emacs-everywhere))
|
||||
(add-hook 'emacs-everywhere-init-hooks #'emacs-everywhere-set-modeline))
|
||||
(when (featurep! :ui workspaces)
|
||||
(defun emacs-everywhere-clear-persp-info ()
|
||||
(setq persp-emacsclient-init-frame-behaviour-override nil))
|
||||
(add-hook 'emacs-everywhere-init-hooks #'emacs-everywhere-clear-persp-info))
|
||||
(add-hook! 'emacs-everywhere-init-hooks
|
||||
(defun +everywhere-set-modeline ()
|
||||
(doom-modeline-set-modeline 'emacs-everywhere))))
|
||||
(add-hook! 'emacs-everywhere-init-hooks
|
||||
(defun +everywhere-clear-persp-info-h ()
|
||||
(when (bound-and-true-p persp-mode)
|
||||
(setq persp-emacsclient-init-frame-behaviour-override nil))))
|
||||
(after! solaire-mode
|
||||
(add-hook 'emacs-everywhere-init-hooks #'solaire-mode)))
|
||||
|
Reference in New Issue
Block a user