From 9d5a1197c1b83c267c773f5de44fac019d19922e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 25 Oct 2019 19:19:59 +0900 Subject: [PATCH] Add isortify configs --- emacs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs.el b/emacs.el index df252d4..aff6da6 100644 --- a/emacs.el +++ b/emacs.el @@ -1359,6 +1359,10 @@ found, otherwise returns nil." (when (require 'with-venv nil t) (with-venv-advice-add 'blacken-buffer))) +(with-eval-after-load 'isortify + (when (require 'with-venv nil t) + (with-venv-advice-add 'isortify-buffer))) + ;; https://github.com/lunaryorn/old-emacs-configuration/blob/master/lisp/flycheck-virtualenv.el (defun my-set-venv-flycheck-executable-find () "Set flycheck executabie find."