[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/adoc-mode 141af8c56a 123/199: Associate with .adoc and .as
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/adoc-mode 141af8c56a 123/199: Associate with .adoc and .asciidoc |
Date: |
Sun, 3 Sep 2023 06:59:39 -0400 (EDT) |
branch: elpa/adoc-mode
commit 141af8c56aa3efc572c04767c25ba946341a6c05
Author: Ville Skyttä <ville.skytta@upcloud.com>
Commit: TobiasZawada <i@tn-home.de>
Associate with .adoc and .asciidoc
---
adoc-mode.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/adoc-mode.el b/adoc-mode.el
index 767b2a2685..23435054ab 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -99,10 +99,12 @@
;;
;; Each of the following is optional
;;
-;; * According to AsciiDoc manual, .txt is the standard file extension of
+;; * According to an old AsciiDoc manual, .txt is the standard file extension
of
;; AsciiDoc files. Add the following to your initialization file to open all
;; .txt files with adoc-mode as major mode automatically: `(add-to-list
-;; 'auto-mode-alist (cons "\\.txt\\'" 'adoc-mode))`
+;; 'auto-mode-alist (cons "\\.txt\\'" 'adoc-mode))`.
+;; More recent conventions for AsciiDoc file extensions include `.adoc` and
+;; `.asciidoc`, these are associated automatically.
;;
;; * If your default face is a fixed pitch (monospace) face, but in AsciiDoc
;; files you liked to have normal text with a variable pitch face,
@@ -3038,6 +3040,9 @@ Turning on Adoc mode runs the normal hook
`adoc-mode-hook'."
(easy-menu-add adoc-mode-menu))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.a\\(?:scii\\)?doc\\'" . adoc-mode))
+
;;;; non-definitions evaluated during load
(adoc-calc)
- [nongnu] elpa/adoc-mode 0a35871ac3 083/199: edited (doc-)comments to make it fit package format guidelines, (continued)
- [nongnu] elpa/adoc-mode 0a35871ac3 083/199: edited (doc-)comments to make it fit package format guidelines, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 2bbd6a36ac 088/199: bumped version to 0.6.2, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode b6d54d9007 097/199: bumped version to 0.6.4, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode b508984663 106/199: id attribute of footnoteref now uses markup-internal-reference-face if it's used as reference opposed to anchor, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode ab42f4909a 107/199: (un)constrained quotes can now spawn more than two lines, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 61974788b4 109/199: small reformatting, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 2bcfcea743 112/199: improved comments, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 9916b51199 113/199: small refactoring in field of the adoc-attribute-list text property, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 9957855384 115/199: bumpded version to 0.6.6, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 414e920433 121/199: Avoid some compilation warnings., ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 141af8c56a 123/199: Associate with .adoc and .asciidoc,
ELPA Syncer <=
- [nongnu] elpa/adoc-mode 474b8f0878 126/199: Correct links, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 66cd5645a0 130/199: Clean up the front-matter, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 183e983a5d 161/199: [Fix #17] Don't add non-title entries to imenu (#18), ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode a5c982d123 170/199: [Fix #14] Add standard GH templates, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode ff6277dc29 174/199: Fix broken links in the changelog, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 9e2bb782d4 177/199: Tweak wording, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 4ded97193c 178/199: Implement fontification of source blocks (#21), ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 19f7f655b7 179/199: Address CI issues., ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 865d7342ab 185/199: Fix a typo, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode f68c4b9178 192/199: Addresses #33. Remove the superfluous (setq found nil) in adoc-kw-replacement, ELPA Syncer, 2023/09/03