diff --git a/init.el b/init.el index cffafc6..ecc5cfb 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-04-30T11:35:32+00:00> +;; Time-stamp: <2019-04-30T11:50:11+00:00> ;;; Commentary: ;; I am using this file with Emacs 26, but most of it will probably work with @@ -130,7 +130,6 @@ (prog-mode . my/set-fill-column-80) (conf-mode . my/set-fill-column-80) (html-mode . my/set-fill-column-120) - (web-mode . my/set-fill-column-120) (text-mode . auto-fill-mode)) ; Enable word-wrapping at fill-column. ;; Save cursor position. @@ -788,7 +787,9 @@ With argument, do this that many times." :mode ("\\.p?html?\\'" . web-mode) ("\\.tmpl\\'" . web-mode) ; Gitea templates - ("\\.php\\'" . web-mode)) + ("\\.php\\'" . web-mode) + :hook + (web-mode . my/set-fill-column-120)) ;;;;;;;;;;;;;;;;;;;; Other file formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (use-package adoc-mode