Remove doom-fix-unicode (unused)

This commit is contained in:
Henrik Lissner 2016-09-23 23:23:01 +02:00
parent 35740e6907
commit afc7899d4b
2 changed files with 2 additions and 18 deletions

View file

@ -334,22 +334,6 @@ Examples:
(load "autoloads")) (load "autoloads"))
(message "Done!"))) (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) (defun doom-byte-compile (&optional minimal)
"Byte compile the core and library .el files in ~/.emacs.d" "Byte compile the core and library .el files in ~/.emacs.d"
(interactive) (interactive)

View file

@ -64,8 +64,8 @@
;; ;;
;; To clean up unreferenced attachments, call `doom/org-cleanup-attachments' ;; To clean up unreferenced attachments, call `doom/org-cleanup-attachments'
(defun doom|org-attach-init () (defun doom|org-attach-init ()
;; Render attachment icons properly ;; FIXME Use all-the-icons
(doom-fix-unicode '("FontAwesome" 13) ? ? ? ? ? ? ? ?) ;; (doom-fix-unicode '("FontAwesome" 13) ? ? ? ? ? ? ? ?)
;; Drag-and-drop support ;; Drag-and-drop support
(require 'org-download) (require 'org-download)
(setq-default org-download-image-dir org-attach-directory (setq-default org-download-image-dir org-attach-directory