Emacs: No fill column for scratch buffer.

This commit is contained in:
tastytea 2020-11-19 05:26:12 +01:00
parent f2cf118fe9
commit f3f272605c
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-11-18T18:38:05+0100>
;; Time-stamp: <2020-11-19T05:25:43+0100>
;;; Commentary:
;; * Setup scratch buffer.
@ -50,7 +50,9 @@
:bind (("M-<left>" . previous-buffer)
("M-<right>" . next-buffer))
:hook ((prog-mode . my/truncate-lines)
(conf-mode . my/truncate-lines)))
(conf-mode . my/truncate-lines)
(emacs-startup . (lambda () (with-current-buffer "*scratch*"
(setq-local fill-column -1))))))
;; Show and select buffers. Minimal interface for recovery situations.
(use-package bs