Automatically update date in AsciiDoc documents.
This commit is contained in:
parent
2b1078b5c2
commit
13536dd91d
8
init.el
8
init.el
|
@ -1,5 +1,5 @@
|
|||
;;; init.el --- tastytea's Emacs init file.
|
||||
;; Time-stamp: <2019-05-26T14:28:08+00:00>
|
||||
;; Time-stamp: <2019-05-28T20:39:03+00:00>
|
||||
|
||||
;;; Commentary:
|
||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||
|
@ -758,7 +758,11 @@ With argument, do this that many times."
|
|||
(markup-verbatim-face ((t (:background "gray5"))))
|
||||
:hook
|
||||
(adoc-mode . auto-fill-mode) ; Wrap at fill-column.
|
||||
(adoc-mode . my/set-fill-column-80))
|
||||
(adoc-mode . my/set-fill-column-80)
|
||||
(adoc-mode . (lambda () ; Automatically update date.
|
||||
(setq-local time-stamp-pattern
|
||||
"8/:[dD[aA][tT][eE]: +%:y-%02m-%02d\n")))
|
||||
)
|
||||
|
||||
(use-package markdown-mode
|
||||
:custom
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
127.0.0.1:51313 18482
|
||||
127.0.0.1:51313 21291
|
||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user