From 0328566c38902916025fe787d5ef2f91c467b3aa Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 14 Feb 2018 13:47:08 +0900 Subject: [PATCH] Add org-edit-special src edit support --- emacs.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 8e7c3a6..8dd49cb 100644 --- a/emacs.el +++ b/emacs.el @@ -669,7 +669,10 @@ found, otherwise returns nil." (when (safe-require-or-eval 'editorconfig) ;; (set-variable 'editorconfig-get-properties-function ;; 'editorconfig-core-get-properties-hash) - (editorconfig-mode 1)) + (editorconfig-mode 1) + (with-eval-after-load 'org-src + (add-hook 'org-src-mode-hook + 'editorconfig-mode-apply t))) (when (fboundp 'editorconfig-custom-majormode) (add-hook 'editorconfig-custom-hooks