Emacs: Disable auto-fill-mode for scratch buffer.

This commit is contained in:
tastytea 2020-11-20 00:41:05 +01:00
parent f3f272605c
commit 5e43573c16
1 changed files with 2 additions and 2 deletions

View File

@ -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