Clean-up python use-package block a bit
This commit is contained in:
parent
b0620845d6
commit
5bb53069d1
10
init.el
10
init.el
|
@ -1121,14 +1121,10 @@
|
|||
:custom
|
||||
(sh-basic-offset 2))
|
||||
|
||||
(defun my/enable-fill-column (col)
|
||||
"Set and enable fill column to `COL'."
|
||||
(set-fill-column col)
|
||||
(display-fill-column-indicator-mode +1))
|
||||
|
||||
(use-package python
|
||||
:hook ((python-base-mode . (lambda () (my/enable-fill-column 88)))
|
||||
(python-base-mode . (lambda ()
|
||||
:hook ((python-base-mode . (lambda ()
|
||||
(set-fill-column 88)
|
||||
(display-fill-column-indicator-mode +1)
|
||||
(setq-local
|
||||
python-check-command
|
||||
(cond
|
||||
|
|
Loading…
Reference in a new issue