+python|adjust-mode-line -> +python|init-mode-line
To be consistent with other initializer hooks.
This commit is contained in:
parent
4ccbc9c7df
commit
f5a18d3751
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ called.")
|
|||
(setq-hook! 'python-mode-hook tab-width python-indent-offset)
|
||||
|
||||
;; Add python/pipenv version string to the major mode in the modeline
|
||||
(defun +python|adjust-mode-line ()
|
||||
(defun +python|init-mode-line ()
|
||||
(setq mode-name +python-mode-line-indicator))
|
||||
(add-hook 'python-mode-hook #'+python|adjust-mode-line)
|
||||
(add-hook 'python-mode-hook #'+python|init-mode-line)
|
||||
|
||||
(add-hook 'python-mode-hook #'+python|update-version))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue