From e56a986046fdf923683bbef26fc069dbed479b77 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 14 Jul 2019 18:47:12 +0200 Subject: [PATCH] Disable auto-fill-mode for crontabs. --- init.el | 7 +++++-- server/server | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index d78a781..5835a38 100644 --- a/init.el +++ b/init.el @@ -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) diff --git a/server/server b/server/server index c0b6e77..bd2b823 100644 --- a/server/server +++ b/server/server @@ -1,2 +1,2 @@ -127.0.0.1:51313 27026 +127.0.0.1:51313 15321 phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh \ No newline at end of file