From 5e43573c165d33f11a594b958b07f9ac31028b17 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 20 Nov 2020 00:41:05 +0100 Subject: [PATCH] Emacs: Disable auto-fill-mode for scratch buffer. --- init.d/basics/buffers.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index 1332a02..e67a780 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -1,6 +1,6 @@ ;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-11-19T05:25:43+0100> +;; Time-stamp: <2020-11-20T00:39:11+0100> ;;; Commentary: ;; * Setup scratch buffer. @@ -52,7 +52,7 @@ :hook ((prog-mode . my/truncate-lines) (conf-mode . my/truncate-lines) (emacs-startup . (lambda () (with-current-buffer "*scratch*" - (setq-local fill-column -1)))))) + (auto-fill-mode -1)))))) ;; Show and select buffers. Minimal interface for recovery situations. (use-package bs