Emacs: No fill column for scratch buffer.
This commit is contained in:
parent
f2cf118fe9
commit
f3f272605c
|
@ -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-18T18:38:05+0100>
|
;; Time-stamp: <2020-11-19T05:25:43+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; * Setup scratch buffer.
|
;; * Setup scratch buffer.
|
||||||
|
@ -50,7 +50,9 @@
|
||||||
:bind (("M-<left>" . previous-buffer)
|
:bind (("M-<left>" . previous-buffer)
|
||||||
("M-<right>" . next-buffer))
|
("M-<right>" . next-buffer))
|
||||||
: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*"
|
||||||
|
(setq-local fill-column -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