summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-26 16:47:29 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-27 06:49:33 -0700
commit925f28433e94702e53aa6f914d2a4708865cefc9 (patch)
treea07ebae27a6a62d34532eac7529213f9a72c0267 /emacs
parentfix(completion): load explicitly consult (diff)
downloademacs.d-925f28433e94702e53aa6f914d2a4708865cefc9.tar.gz
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 <franck@fcuny.net>
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/my-prog.el5
1 files changed, 3 insertions, 2 deletions
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))