]> xn--ix-yja.es Git - alex.git/commitdiff
Add work AsciiDoc abbrev
authoralex <alex@pdp7.net>
Mon, 30 Jan 2023 15:17:41 +0000 (16:17 +0100)
committeralex <alex@pdp7.net>
Mon, 30 Jan 2023 15:27:17 +0000 (16:27 +0100)
emacs/emacs.el

index 8d4535d01a230d23beaa3855b4dab0c59780b7cc..61c699e8ce472bf689ffda253954fb7d86f499e8 100644 (file)
 (setq undo-tree-visualizer-diff t)
 (setq undo-tree-visualizer-timestamp t)
 (setq undo-tree-auto-save-history t)
+
+(clear-abbrev-table global-abbrev-table)
+
+(progn
+  (when (boundp 'daoc-mode-abbrev-table)
+    (clear-abbrev-table adoc-mode-abbrev-table))
+  (define-abbrev-table 'adoc-mode-abbrev-table
+    '(
+      ("oomit" "_...output omitted..._")
+)))
+
+(set-default 'abbrev-mode t)
+
+(setq save-abbrevs nil)