Emacs: Disable auto-fill-mode for scratch buffer.
This commit is contained in:
parent
f3f272605c
commit
5e43573c16
|
@ -1,6 +1,6 @@
|
||||||
;;; buffers.el --- Default settings for buffers. -*- lexical-binding: t; -*-
|
;;; 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:
|
;;; Commentary:
|
||||||
;; * Setup scratch buffer.
|
;; * Setup scratch buffer.
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
:hook ((prog-mode . my/truncate-lines)
|
:hook ((prog-mode . my/truncate-lines)
|
||||||
(conf-mode . my/truncate-lines)
|
(conf-mode . my/truncate-lines)
|
||||||
(emacs-startup . (lambda () (with-current-buffer "*scratch*"
|
(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.
|
;; Show and select buffers. Minimal interface for recovery situations.
|
||||||
(use-package bs
|
(use-package bs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user