Emacs: Update the default time-stamp-pattern for adoc.

This commit is contained in:
tastytea 2019-12-26 20:30:58 +01:00
parent ab2cc5c2e3
commit 302b8c8b9b

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-12-26T07:43:33+00:00>
;; Time-stamp: <2019-12-26T20:30:46+0100>
;;; Commentary:
@ -85,7 +85,7 @@
(adoc-mode . auto-fill-mode) ; Wrap at fill-column.
(adoc-mode . (lambda () ; Automatically update date.
(setq-local time-stamp-pattern
"8/:[dD[aA][tT][eE]: +%:y-%02m-%02d\n")
"8/:[dD[aA][tT][eE]: +%Y-%02m-%02d\n")
;; (setq-local time-stamp-time-zone nil) ; Set to local TZ.
))
(adoc-mode . yas-minor-mode) ; Enable yasnippets.