Use add-hook! for inline hook defuns

This commit is contained in:
Henrik Lissner 2019-07-26 22:46:05 +02:00
parent fe5d285a50
commit 09d13fd60d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 10 additions and 10 deletions

View file

@ -8,7 +8,7 @@
(setq ob-ipython-resources-dir ".ob-ipython-resrc")
(add-hook '+org-babel-load-functions
(add-hook! '+org-babel-load-functions
(defun +org-babel-load-ipython-h (lang)
(and (string-prefix-p "jupyter-" (symbol-name lang))
(require 'ob-ipython nil t))))