I am changing the default value for fill-column
, then hook it for prog-mode
. Would be neat to have a way that I can have a single function to do this. Currently add-hook
requires a call to an outside function colum-property
in order to set it.
(defun colum-property ()
(setq fill-column 72))
(defun colum-mhook ()
(add-hook 'prog-mode-hook #'colum-property))