changeset 42390:36edcfb696f9

(c-mode-abbrev-table, c++-mode-abbrev-table, objc-mode-abbrev-table) (java-mode-abbrev-table, pike-mode-abbrev-table): Mark all the predefined abbrevs as "system" abbrevs.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Dec 2001 22:16:42 +0000
parents 931bbe0dc97d
children 2a84e0b7ab92
files lisp/progmodes/cc-mode.el
diffstat 1 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el	Fri Dec 28 22:14:38 2001 +0000
+++ b/lisp/progmodes/cc-mode.el	Fri Dec 28 22:16:42 2001 +0000
@@ -399,8 +399,8 @@
 (defvar c-mode-abbrev-table nil
   "Abbreviation table used in c-mode buffers.")
 (define-abbrev-table 'c-mode-abbrev-table
-  '(("else" "else" c-electric-continued-statement 0)
-    ("while" "while" c-electric-continued-statement 0)))
+  '(("else" "else" c-electric-continued-statement 0 t)
+    ("while" "while" c-electric-continued-statement 0 t)))
 
 (defvar c-mode-map ()
   "Keymap used in c-mode buffers.")
@@ -460,9 +460,9 @@
 (defvar c++-mode-abbrev-table nil
   "Abbreviation table used in c++-mode buffers.")
 (define-abbrev-table 'c++-mode-abbrev-table
-  '(("else" "else" c-electric-continued-statement 0)
-    ("while" "while" c-electric-continued-statement 0)
-    ("catch" "catch" c-electric-continued-statement 0)))
+  '(("else" "else" c-electric-continued-statement 0 t)
+    ("while" "while" c-electric-continued-statement 0 t)
+    ("catch" "catch" c-electric-continued-statement 0 t)))
 
 (defvar c++-mode-map ()
   "Keymap used in c++-mode buffers.")
@@ -527,8 +527,8 @@
 (defvar objc-mode-abbrev-table nil
   "Abbreviation table used in objc-mode buffers.")
 (define-abbrev-table 'objc-mode-abbrev-table
-  '(("else" "else" c-electric-continued-statement 0)
-    ("while" "while" c-electric-continued-statement 0)))
+  '(("else" "else" c-electric-continued-statement 0 t)
+    ("while" "while" c-electric-continued-statement 0 t)))
 
 (defvar objc-mode-map ()
   "Keymap used in objc-mode buffers.")
@@ -589,10 +589,10 @@
 (defvar java-mode-abbrev-table nil
   "Abbreviation table used in java-mode buffers.")
 (define-abbrev-table 'java-mode-abbrev-table
-  '(("else" "else" c-electric-continued-statement 0)
-    ("while" "while" c-electric-continued-statement 0)
-    ("catch" "catch" c-electric-continued-statement 0)
-    ("finally" "finally" c-electric-continued-statement 0)))
+  '(("else" "else" c-electric-continued-statement 0 t)
+    ("while" "while" c-electric-continued-statement 0 t)
+    ("catch" "catch" c-electric-continued-statement 0 t)
+    ("finally" "finally" c-electric-continued-statement 0 t)))
 
 (defvar java-mode-map ()
   "Keymap used in java-mode buffers.")
@@ -718,8 +718,8 @@
 (defvar pike-mode-abbrev-table nil
   "Abbreviation table used in pike-mode buffers.")
 (define-abbrev-table 'pike-mode-abbrev-table
-  '(("else" "else" c-electric-continued-statement 0)
-    ("while" "while" c-electric-continued-statement 0)))
+  '(("else" "else" c-electric-continued-statement 0 t)
+    ("while" "while" c-electric-continued-statement 0 t)))
 
 (defvar pike-mode-map ()
   "Keymap used in pike-mode buffers.")