diff options
Diffstat (limited to '.config/emacs/modules/mm-abbrev.el')
-rw-r--r-- | .config/emacs/modules/mm-abbrev.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.config/emacs/modules/mm-abbrev.el b/.config/emacs/modules/mm-abbrev.el index f484fc5..937d558 100644 --- a/.config/emacs/modules/mm-abbrev.el +++ b/.config/emacs/modules/mm-abbrev.el @@ -26,8 +26,7 @@ case-sensitive to avoid unexpected abbreviation expansions." ;;; Abbreviation Configuration (use-package abbrev - :init - (setq-default abbrev-mode t) + :hook prog-mode :custom (abbrev-file-name (expand-file-name "abbev-defs" mm-data-directory)) (save-abbrevs 'silently)) @@ -44,9 +43,9 @@ case-sensitive to avoid unexpected abbreviation expansions." "fpf" "fprintf" "fuf" "funlockfile" "pf" "printf" - "se" "stderr" - "si" "stdin" - "so" "stdout") + "sde" "stderr" + "sdi" "stdin" + "sdo" "stdout") (with-eval-after-load 'cc-mode (setq c-mode-abbrev-table (copy-abbrev-table mm-c-mode-abbrev-table) @@ -100,4 +99,4 @@ case-sensitive to avoid unexpected abbreviation expansions." #'tempel-complete -10 :local)))) (add-to-list 'auto-mode-alist (cons tempel-path #'lisp-data-mode))) -(provide 'mm-abbrev) +(provide 'mm-abbrev)
\ No newline at end of file |