Remove doom-fix-unicode (unused)
This commit is contained in:
parent
35740e6907
commit
afc7899d4b
2 changed files with 2 additions and 18 deletions
|
@ -334,22 +334,6 @@ Examples:
|
|||
(load "autoloads"))
|
||||
(message "Done!")))
|
||||
|
||||
(defun doom-fix-unicode (font &rest chars)
|
||||
"Display certain unicode characters in a specific font.
|
||||
|
||||
e.g. (doom-fix-unicode \"DejaVu Sans\" ?⚠ ?★ ?λ)"
|
||||
(declare (indent 1))
|
||||
(mapc (lambda (x) (set-fontset-font
|
||||
t (cons x x)
|
||||
(cond ((fontp font)
|
||||
font)
|
||||
((listp font)
|
||||
(font-spec :family (car font) :size (nth 1 font)))
|
||||
((stringp font)
|
||||
(font-spec :family font))
|
||||
(t (error "FONT is an invalid type: %s" font)))))
|
||||
chars))
|
||||
|
||||
(defun doom-byte-compile (&optional minimal)
|
||||
"Byte compile the core and library .el files in ~/.emacs.d"
|
||||
(interactive)
|
||||
|
|
|
@ -64,8 +64,8 @@
|
|||
;;
|
||||
;; To clean up unreferenced attachments, call `doom/org-cleanup-attachments'
|
||||
(defun doom|org-attach-init ()
|
||||
;; Render attachment icons properly
|
||||
(doom-fix-unicode '("FontAwesome" 13) ? ? ? ? ? ? ? ?)
|
||||
;; FIXME Use all-the-icons
|
||||
;; (doom-fix-unicode '("FontAwesome" 13) ? ? ? ? ? ? ? ?)
|
||||
;; Drag-and-drop support
|
||||
(require 'org-download)
|
||||
(setq-default org-download-image-dir org-attach-directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue