This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+fonts/unicode-fonts/packages.el
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00

31 lines
787 B
EmacsLisp

;;; packages.el --- unicode-fonts layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
;;
;; Author: Aaron Jensen <aaronjensen@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;;; Code:
(defconst unicode-fonts-packages
'(unicode-fonts
persistent-soft))
(defun unicode-fonts/init-persistent-soft ()
(use-package persistent-soft
))
(defun unicode-fonts/init-unicode-fonts ()
(use-package unicode-fonts
:init
(progn
(when (and unicode-fonts-force-multi-color-on-mac
(eq window-system 'ns))
(setq unicode-fonts-skip-font-groups '(decorative low-quality-glyphs)))
(unicode-fonts-setup))))
;;; packages.el ends here