Browse Source

Add blacken advice

master
10sr 5 years ago
parent
commit
47650ec7ae
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -2133,6 +2133,10 @@ When a function is adviced with this function, it is wrapped with `with-venv'."
(with-venv
(apply orig-func args)))

(with-eval-after-load 'blacken
(with-venv-advice-add 'blacken-call-bin))


;; (with-venv (:dir default-directory) (message "a"))
;; (with-venv () (message "a"))



Loading…
Cancel
Save