Correct more inline hook defuns

This commit is contained in:
Henrik Lissner 2019-07-28 02:16:58 +02:00
parent 4dc42de9e3
commit 19dd4e8db8
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ called.")
(string= python-shell-interpreter "python"))
(setq python-shell-interpreter "python3"))
(add-hook 'python-mode-hook
(add-hook! 'python-mode-hook
(defun +python-use-correct-flycheck-executables-h ()
"Use the correct Python executables for Flycheck."
(let ((executable python-shell-interpreter))

View file

@ -61,7 +61,7 @@ It is passed a user and repository name.")
'("-a" "Autostash" "--autostash"))
;; so magit buffers can be switched to (except for process buffers)
(add-hook 'doom-real-buffer-functions
(add-hook! 'doom-real-buffer-functions
(defun +magit-buffer-p (buf)
(with-current-buffer buf
(and (derived-mode-p 'magit-mode)