aboutsummaryrefslogtreecommitdiffstats
path: root/oni-java.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-12-12 22:10:43 -0800
committerGravatar Tom Willemse2020-12-12 22:10:43 -0800
commitd7eb818ecf08bbd79156bea5d22369f58146a0e1 (patch)
treeafcc93a3c8d5b4ce25ee29e4d4f999d9533f12e8 /oni-java.el
parent3fa4730a052b5738e922bdbf150e690d726482ce (diff)
downloademacs-config-d7eb818ecf08bbd79156bea5d22369f58146a0e1.tar.gz
emacs-config-d7eb818ecf08bbd79156bea5d22369f58146a0e1.zip
Turn abbrevs into "system" abbrevs
This prevents them from being saved to the abbrevs_defs file.
Diffstat (limited to 'oni-java.el')
-rw-r--r--oni-java.el6
1 files changed, 3 insertions, 3 deletions
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\\'"