Merge branch 'cleanup-dot-emacs-dir' of https://gitlab.com/marcuskammer/emacs.d into cleanup-dot-emacs-dir
This commit is contained in:
commit
9c6a879aa6
2 changed files with 33 additions and 24 deletions
|
@ -14,7 +14,7 @@
|
||||||
'(default-frame-alist
|
'(default-frame-alist
|
||||||
(quote
|
(quote
|
||||||
((undecorated . t)
|
((undecorated . t)
|
||||||
(font . "Fira Code-11")
|
(font . "Fira Code-13")
|
||||||
(fullscreen . maximized)
|
(fullscreen . maximized)
|
||||||
(alpha . 100))))
|
(alpha . 100))))
|
||||||
'(delete-selection-mode nil)
|
'(delete-selection-mode nil)
|
||||||
|
|
9
init.el
9
init.el
|
@ -163,6 +163,7 @@ There are two things you can do about this warning:
|
||||||
(add-hook 'diary-display-hook 'fancy-diary-display)
|
(add-hook 'diary-display-hook 'fancy-diary-display)
|
||||||
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
|
(add-hook 'today-visible-calendar-hook 'calendar-mark-today)
|
||||||
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
|
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
|
||||||
|
|
||||||
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
(add-hook 'org-mode-hook 'turn-on-auto-fill)
|
||||||
(add-hook 'rst-mode-hook 'turn-on-orgstruct)
|
(add-hook 'rst-mode-hook 'turn-on-orgstruct)
|
||||||
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
||||||
|
@ -207,3 +208,11 @@ There are two things you can do about this warning:
|
||||||
|
|
||||||
(when (eq system-type 'windows-nt)
|
(when (eq system-type 'windows-nt)
|
||||||
(win-set-sbcl))
|
(win-set-sbcl))
|
||||||
|
|
||||||
|
(defun mk-write-mode-enable ()
|
||||||
|
(setq olivetti-body-width 73)
|
||||||
|
(setq mode-line-format nil)
|
||||||
|
(olivetti-mode))
|
||||||
|
(defun mk-write-mode-toggle ()
|
||||||
|
(defvar mode-line-format-current
|
||||||
|
(symbol-value 'mode-line-format)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue