From 39a686500a27182299b9825fcbc9ab9eff7652b2 Mon Sep 17 00:00:00 2001 From: Wen Kokke Date: Wed, 19 Aug 2020 22:44:21 +0200 Subject: [PATCH] Added Aquamacs-specific patch. --- .dir-locals.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index 06d9885f..48c4ce98 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,6 +1,11 @@ ;;; Directory Local Variables ;;; For more information see (info "(emacs) Directory Variables") -;; Disable auto-fill-mode for PLFA +;; Disable auto-fill (turn-off-auto-fill) (remove-hook 'text-mode-hook #'turn-on-auto-fill) + + +;; Disable auto-fill for Aquamacs +(when (featurep 'aquamacs) + (remove-hook 'text-mode-hook 'auto-detect-wrap))