Activate auto-fill-mode for adoc and markdown.
This commit is contained in:
parent
f915c8f5c9
commit
8fd39af77b
10
init.el
10
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;; Time-stamp: <2019-04-12T17:28:09+00:00>
|
||||
;; Time-stamp: <2019-04-13T02:49:34+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -782,7 +782,7 @@ With argument, do this that many times."
|
|||
;;;;;;;;;;;;;;;;;;;; Other file formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
(use-package adoc-mode
|
||||
:mode
|
||||
(("\\.adoc" . adoc-mode))
|
||||
("\\.adoc\\'" . adoc-mode)
|
||||
:custom-face
|
||||
;; Style headers.
|
||||
(markup-title-0-face ((t (:inherit markup-gen-face :height 1.4))))
|
||||
|
@ -792,11 +792,13 @@ With argument, do this that many times."
|
|||
:weight bold))))
|
||||
(markup-title-4-face ((t (:inherit markup-gen-face :height 1.0
|
||||
:underline t))))
|
||||
(markup-title-5-face ((t (:inherit markup-gen-face :height 1.0))))
|
||||
;; Enlarge meta-data a bit.
|
||||
(markup-secondary-text-face ((t (:inherit markup-gen-face :height 0.9
|
||||
:foreground "firebrick"))))
|
||||
:hook
|
||||
(adoc-mode . visual-line-mode))
|
||||
(adoc-mode . auto-fill-mode) ; Wrap at fill-column.
|
||||
(adoc-mode . my/set-fill-column-80))
|
||||
|
||||
(use-package markdown-mode
|
||||
:custom
|
||||
|
@ -822,7 +824,7 @@ With argument, do this that many times."
|
|||
("\\.md\\'" . markdown-mode)
|
||||
("\\.markdown\\'" . markdown-mode))
|
||||
:hook
|
||||
(markdown-mode . visual-line-mode))
|
||||
(markdown-mode . auto-fill-mode)) ; Wrap at fill-column.
|
||||
|
||||
(use-package crontab-mode
|
||||
:mode
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
127.0.0.1:51313 26689
|
||||
127.0.0.1:51313 5196
|
||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue