summary refs log tree commit diff
path: root/emacs/custom/my-prog.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-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))