Minor reformatting & refactors across the board
This commit is contained in:
parent
03fa2eafee
commit
1274de3d34
9 changed files with 24 additions and 15 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue