From afc7899d4b9fe693671caa917cfb9ef7d9956084 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 Sep 2016 23:23:01 +0200 Subject: [PATCH] Remove doom-fix-unicode (unused) --- core/core-defuns.el | 16 ---------------- modules/module-org-notes.el | 4 ++-- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/core/core-defuns.el b/core/core-defuns.el index 503a3d6d2..5849ea7bb 100644 --- a/core/core-defuns.el +++ b/core/core-defuns.el @@ -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) diff --git a/modules/module-org-notes.el b/modules/module-org-notes.el index c62fc8198..ef1353072 100644 --- a/modules/module-org-notes.el +++ b/modules/module-org-notes.el @@ -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