Correct more inline hook defuns
This commit is contained in:
parent
4dc42de9e3
commit
19dd4e8db8
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue