From 925f28433e94702e53aa6f914d2a4708865cefc9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 26 Jun 2022 16:47:29 -0700 Subject: ref(prog): clean up comment settings Change-Id: Ic3ec94047e39618d9d1bbc5aa9afce8565b87208 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/583 Tested-by: CI Reviewed-by: Franck Cuny --- emacs/custom/my-prog.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'emacs/custom') diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el index dad14f2..df56223 100644 --- a/emacs/custom/my-prog.el +++ b/emacs/custom/my-prog.el @@ -45,8 +45,9 @@ (add-hook hook 'yas-minor-mode)) ;; I want comments to be wrapped at column 80 -(customize-set-variable 'comment-fill-column 80) -(customize-set-variable 'comment-auto-fill-only-comments t) +(require 'newcomment) +(setq comment-fill-column 80) +(setq comment-auto-fill-only-comments t) (dolist (hook '(prog-mode-hook conf-mode-hook)) (add-hook hook 'auto-fill-mode)) -- cgit 1.4.1