Fix 'command not found' errors for hidden commands
This commit is contained in:
parent
c24567a545
commit
1c4215c187
15 changed files with 120 additions and 106 deletions
|
@ -1,20 +1,18 @@
|
|||
;;; ui/unicode/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(add-hook 'doom-init-ui-hook #'+unicode|init-fonts)
|
||||
|
||||
;;;###autoload
|
||||
(defun +unicode|init-fonts ()
|
||||
"Set up `unicode-fonts' to eventually run; accomodating the daemon, if
|
||||
(add-hook 'doom-init-ui-hook
|
||||
(defun +unicode-init-fonts-h ()
|
||||
"Set up `unicode-fonts' to eventually run; accomodating the daemon, if
|
||||
necessary."
|
||||
(setq-default bidi-display-reordering t
|
||||
doom-unicode-font nil)
|
||||
(if initial-window-system
|
||||
(+unicode|setup-fonts (selected-frame))
|
||||
(add-hook 'after-make-frame-functions #'+unicode|setup-fonts)))
|
||||
(setq-default bidi-display-reordering t
|
||||
doom-unicode-font nil)
|
||||
(if initial-window-system
|
||||
(+unicode-setup-fonts-h (selected-frame))
|
||||
(add-hook 'after-make-frame-functions #'+unicode-setup-fonts-h))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +unicode|setup-fonts (&optional frame)
|
||||
(defun +unicode-setup-fonts-h (&optional frame)
|
||||
"Initialize `unicode-fonts', if in a GUI session."
|
||||
(when (and frame (display-graphic-p frame))
|
||||
(with-selected-frame frame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue