From 7fda2d9127204cf63106d5c1b122c2be9ea01b54 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sat, 29 Dec 2018 23:14:20 +0800 Subject: [PATCH] Minor refactor. --- doom-modeline.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 7703bad..5716e01 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -537,27 +537,27 @@ If DEFAULT is non-nil, set the default mode-line for all buffers." (defun doom-modeline-icon-octicon (&rest args) "Display octicon via ARGS." (when doom-modeline-icon - (apply 'all-the-icons-octicon args))) + (apply #'all-the-icons-octicon args))) (defun doom-modeline-icon-faicon (&rest args) "Display font awesome icon via ARGS." (when doom-modeline-icon - (apply 'all-the-icons-faicon args))) + (apply #'all-the-icons-faicon args))) (defun doom-modeline-icon-material (&rest args) "Display material icon via ARGS." (when doom-modeline-icon - (apply 'all-the-icons-material args))) + (apply #'all-the-icons-material args))) (defun doom-modeline-icon-for-mode (&rest args) "Display icon for major mode via ARGS." (when doom-modeline-icon - (apply 'all-the-icons-icon-for-mode args))) + (apply #'all-the-icons-icon-for-mode args))) (defun doom-modeline-icon-for-file (&rest args) "Display icon for major mode via ARGS." (when doom-modeline-icon - (apply 'all-the-icons-icon-for-file args))) + (apply #'all-the-icons-icon-for-file args))) (defun doom-modeline--active () "Whether is an active window."