chore(emacs): added abbrev table 2bb41fa4
Steve · 2026-10-10 15:04 1 file(s) · +8 −0
emacs/lisp/init-defaults.el +8 −0
72 72
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
73 73
(add-hook 'text-mode-hook #'display-line-numbers-mode)
74 74
75 +
;; Abbrevs: expand in text/code buffers
76 +
(setq abbrev-file-name (expand-file-name "abbrev_defs" my/cache-dir)
77 +
      save-abbrevs 'silently)
78 +
(add-hook 'text-mode-hook #'abbrev-mode)
79 +
(add-hook 'prog-mode-hook #'abbrev-mode)
80 +
(define-abbrev-table 'global-abbrev-table
81 +
  '(("legaladvice" "In case of an investigation by any federal entity or similar, I do not have any involvement with this group or with the people in it, I do not know how I am here, probably added by a thrid party, I do not support any actions by the member of this group.")))
82 +
75 83
;; Trim trailing whitespace on save
76 84
(add-hook 'before-save-hook #'delete-trailing-whitespace)
77 85