From 56ae091b62af9b9d2da1d429700cc9fbce6b1720 Mon Sep 17 00:00:00 2001 From: Enze Chi Date: Thu, 1 Aug 2019 18:45:42 +1000 Subject: [PATCH] remove duplicated code --- CHANGELOG.develop | 4 ++-- layers/+emacs/org/packages.el | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 0d6789d5b..0337eb6f0 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -2667,8 +2667,8 @@ Other: - Lots of improvement with CI and documentation exporting (thanks to Eugene Yaremenko) - New LAYERS.org format (thanks to Eugene Yaremenko && Anton Latukha) -- Various code and style improvements (thanks to bmag, duianto, Eivind Fonn, - Eugene Yaremenko, Fabien Dubosson, Kalle Lindqvist, Boris Buliga, timor, +- Various code and style improvements (thanks to bmag, duianto, Enze Chi, Eivind + Fonn, Eugene Yaremenko, Fabien Dubosson, Kalle Lindqvist, Boris Buliga, timor, yuhan0, thanhvg, Sylvain Benner) - Multiple unit test improvements (thanks to Sylvain Benner, et2010 and Codruț Constantin Gușoi) diff --git a/layers/+emacs/org/packages.el b/layers/+emacs/org/packages.el index 86fcec637..07f962293 100644 --- a/layers/+emacs/org/packages.el +++ b/layers/+emacs/org/packages.el @@ -127,8 +127,7 @@ (with-eval-after-load 'org-indent (spacemacs|hide-lighter org-indent-mode)) - (let ((dir (configuration-layer/get-layer-local-dir 'org))) - (setq org-export-async-init-file (concat dir "org-async-init.el"))) + (defmacro spacemacs|org-emphasize (fname char) "Make function for setting the emphasis in org mode" `(defun ,fname () (interactive)