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
|
:custom
|
||||||
(sh-basic-offset 2))
|
(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
|
(use-package python
|
||||||
:hook ((python-base-mode . (lambda () (my/enable-fill-column 88)))
|
:hook ((python-base-mode . (lambda ()
|
||||||
(python-base-mode . (lambda ()
|
(set-fill-column 88)
|
||||||
|
(display-fill-column-indicator-mode +1)
|
||||||
(setq-local
|
(setq-local
|
||||||
python-check-command
|
python-check-command
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in a new issue