diff options
author | Tom Willemse | 2020-12-12 22:10:43 -0800 |
---|---|---|
committer | Tom Willemse | 2020-12-12 22:10:43 -0800 |
commit | d7eb818ecf08bbd79156bea5d22369f58146a0e1 (patch) | |
tree | afcc93a3c8d5b4ce25ee29e4d4f999d9533f12e8 | |
parent | 3fa4730a052b5738e922bdbf150e690d726482ce (diff) | |
download | emacs-config-d7eb818ecf08bbd79156bea5d22369f58146a0e1.tar.gz emacs-config-d7eb818ecf08bbd79156bea5d22369f58146a0e1.zip |
Turn abbrevs into "system" abbrevs
This prevents them from being saved to the abbrevs_defs file.
-rw-r--r-- | oni-c.el | 6 | ||||
-rw-r--r-- | oni-csharp/oni-csharp.el | 6 | ||||
-rw-r--r-- | oni-java.el | 6 |
3 files changed, 9 insertions, 9 deletions
@@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2020.1212.220101 +;; Version: 2020.1212.220909 ;; Package-Requires: (oni-flycheck oni-fci oni-lsp reformatter) ;; This program is free software; you can redistribute it and/or modify @@ -52,8 +52,8 @@ 'display-fill-column-indicator-mode 'fci-mode)) -(define-abbrev c-mode-abbrev-table "and" "&&") -(define-abbrev c-mode-abbrev-table "or" "||") +(define-abbrev c-mode-abbrev-table "and" "&&" nil :system t) +(define-abbrev c-mode-abbrev-table "or" "||" nil :system t) ;;;###autoload(with-eval-after-load 'cc-mode (require 'oni-c)) diff --git a/oni-csharp/oni-csharp.el b/oni-csharp/oni-csharp.el index 13bc1cc..de33eb6 100644 --- a/oni-csharp/oni-csharp.el +++ b/oni-csharp/oni-csharp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2020.1210.205218 +;; Version: 2020.1212.221001 ;; Package-Requires: (csharp-mode oni-company oni-flycheck oni-yasnippet oni-hydra oni-fci oni-lsp smartparens) ;; This program is free software; you can redistribute it and/or modify @@ -159,8 +159,8 @@ _cs_: Solution (define-key csharp-mode-map (kbd "C-c SPC") 'oni-csharp-hydra/body) -(define-abbrev csharp-mode-abbrev-table "and" "&&") -(define-abbrev csharp-mode-abbrev-table "or" "||") +(define-abbrev csharp-mode-abbrev-table "and" "&&" nil :system t) +(define-abbrev csharp-mode-abbrev-table "or" "||" nil :system t) ;;;###autoload (add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode)) diff --git a/oni-java.el b/oni-java.el index e1a995f..93704c6 100644 --- a/oni-java.el +++ b/oni-java.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2020.1210.205100 +;; Version: 2020.1212.221032 ;; Package-Requires: (oni-fci oni-data-dir oni-lsp oni-hydra lsp-java) ;; This program is free software; you can redistribute it and/or modify @@ -83,8 +83,8 @@ (define-key java-mode-map (kbd "C-c r") 'java-refactor-hydra/body) (define-key java-mode-map (kbd "C-c d") 'java-documentation-hydra/body) -(define-abbrev java-mode-abbrev-table "and" "&&") -(define-abbrev java-mode-abbrev-table "or" "||") +(define-abbrev java-mode-abbrev-table "and" "&&" nil :system t) +(define-abbrev java-mode-abbrev-table "or" "||" nil :system t) (add-to-list 'auto-insert-alist '("\\.java\\'" |