Disable auto-fill-mode for crontabs.

This commit is contained in:
tastytea 2019-07-14 18:47:12 +02:00
parent 99b29b0529
commit e56a986046
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-07-13T16:43:40+00:00>
;; Time-stamp: <2019-07-13T19:28:42+00:00>
;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with
@ -822,7 +822,10 @@ With argument, do this that many times."
(use-package crontab-mode
:mode
("/cron\\.d/" . crontab-mode)
("\\`'/etc/crontab\\'" . crontab-mode))
("\\`'/etc/crontab\\'" . crontab-mode)
:hook
(crontab-mode . (lambda () (auto-fill-mode -1)))
)
(use-package nginx-mode
:defer t)

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 27026
127.0.0.1:51313 15321
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh