aboutsummaryrefslogtreecommitdiffstats
path: root/oni-c.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-c.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-c.el')
-rw-r--r--oni-c.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/oni-c.el b/oni-c.el
index 24be34e..33b4ab6 100644
--- a/oni-c.el
+++ b/oni-c.el
@@ -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))