diff --git a/init.el b/init.el index c2ce1e8..20959e6 100644 --- a/init.el +++ b/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