aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2001-12-30 22:23:27 +0000
committerPavel Janík2001-12-30 22:23:27 +0000
commit99158127ba95f3695efd580e103e5b15311be598 (patch)
tree2d3fe9e228aac9d28fa4b861e9943bf6eec7c656
parent8bf2571864ac2e6e11f5b333dd8bdc12dd7d7d4d (diff)
downloademacs-99158127ba95f3695efd580e103e5b15311be598.tar.gz
emacs-99158127ba95f3695efd580e103e5b15311be598.zip
(octave-abbrev-table): Mark all the predefined abbrevs as "system" abbrevs.
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/progmodes/octave-mod.el61
2 files changed, 40 insertions, 31 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7e6f49b93e0..395a36fa94c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12001-12-30 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2
3 * progmodes/octave-mod.el (octave-abbrev-table):
4 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
5 * progmodes/fortran.el (fortran-mode-abbrev-table):
6 * progmodes/f90.el (f90-mode-abbrev-table):
7 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
8 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
9 predefined abbrevs as "system" abbrevs.
10
12001-12-30 Richard M. Stallman <rms@gnu.org> 112001-12-30 Richard M. Stallman <rms@gnu.org>
2 12
3 * info.el (Info-fontify-node): For a **** underline line, put the 13 * info.el (Info-fontify-node): For a **** underline line, put the
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el
index c635d8c9d1a..e66c4578e70 100644
--- a/lisp/progmodes/octave-mod.el
+++ b/lisp/progmodes/octave-mod.el
@@ -56,40 +56,39 @@
56 56
57(defvar octave-abbrev-table nil 57(defvar octave-abbrev-table nil
58 "Abbrev table for Octave's reserved words. 58 "Abbrev table for Octave's reserved words.
59Used in octave-mode and inferior-octave-mode buffers. 59Used in `octave-mode' and inferior-octave-mode buffers.
60All Octave abbrevs start with a grave accent (`).") 60All Octave abbrevs start with a grave accent (`).")
61(if octave-abbrev-table 61(unless octave-abbrev-table
62 ()
63 (let ((ac abbrevs-changed)) 62 (let ((ac abbrevs-changed))
64 (define-abbrev-table 'octave-abbrev-table ()) 63 (define-abbrev-table 'octave-abbrev-table ())
65 (define-abbrev octave-abbrev-table "`a" "all_va_args" nil) 64 (define-abbrev octave-abbrev-table "`a" "all_va_args" nil 0 t)
66 (define-abbrev octave-abbrev-table "`b" "break" nil) 65 (define-abbrev octave-abbrev-table "`b" "break" nil 0 t)
67 (define-abbrev octave-abbrev-table "`cs" "case" nil) 66 (define-abbrev octave-abbrev-table "`cs" "case" nil 0 t)
68 (define-abbrev octave-abbrev-table "`ca" "catch" nil) 67 (define-abbrev octave-abbrev-table "`ca" "catch" nil 0 t)
69 (define-abbrev octave-abbrev-table "`c" "continue" nil) 68 (define-abbrev octave-abbrev-table "`c" "continue" nil 0 t)
70 (define-abbrev octave-abbrev-table "`el" "else" nil) 69 (define-abbrev octave-abbrev-table "`el" "else" nil 0 t)
71 (define-abbrev octave-abbrev-table "`eli" "elseif" nil) 70 (define-abbrev octave-abbrev-table "`eli" "elseif" nil 0 t)
72 (define-abbrev octave-abbrev-table "`et" "end_try_catch" nil) 71 (define-abbrev octave-abbrev-table "`et" "end_try_catch" nil 0 t)
73 (define-abbrev octave-abbrev-table "`eu" "end_unwind_protect" nil) 72 (define-abbrev octave-abbrev-table "`eu" "end_unwind_protect" nil 0 t)
74 (define-abbrev octave-abbrev-table "`ef" "endfor" nil) 73 (define-abbrev octave-abbrev-table "`ef" "endfor" nil 0 t)
75 (define-abbrev octave-abbrev-table "`efu" "endfunction" nil) 74 (define-abbrev octave-abbrev-table "`efu" "endfunction" nil 0 t)
76 (define-abbrev octave-abbrev-table "`ei" "endif" nil) 75 (define-abbrev octave-abbrev-table "`ei" "endif" nil 0 t)
77 (define-abbrev octave-abbrev-table "`es" "endswitch" nil) 76 (define-abbrev octave-abbrev-table "`es" "endswitch" nil 0 t)
78 (define-abbrev octave-abbrev-table "`ew" "endwhile" nil) 77 (define-abbrev octave-abbrev-table "`ew" "endwhile" nil 0 t)
79 (define-abbrev octave-abbrev-table "`f" "for" nil) 78 (define-abbrev octave-abbrev-table "`f" "for" nil 0 t)
80 (define-abbrev octave-abbrev-table "`fu" "function" nil) 79 (define-abbrev octave-abbrev-table "`fu" "function" nil 0 t)
81 (define-abbrev octave-abbrev-table "`gl" "global" nil) 80 (define-abbrev octave-abbrev-table "`gl" "global" nil 0 t)
82 (define-abbrev octave-abbrev-table "`gp" "gplot" nil) 81 (define-abbrev octave-abbrev-table "`gp" "gplot" nil 0 t)
83 (define-abbrev octave-abbrev-table "`gs" "gsplot" nil) 82 (define-abbrev octave-abbrev-table "`gs" "gsplot" nil 0 t)
84 (define-abbrev octave-abbrev-table "`if" "if ()" nil) 83 (define-abbrev octave-abbrev-table "`if" "if ()" nil 0 t)
85 (define-abbrev octave-abbrev-table "`o" "otherwise" nil) 84 (define-abbrev octave-abbrev-table "`o" "otherwise" nil 0 t)
86 (define-abbrev octave-abbrev-table "`rp" "replot" nil) 85 (define-abbrev octave-abbrev-table "`rp" "replot" nil 0 t)
87 (define-abbrev octave-abbrev-table "`r" "return" nil) 86 (define-abbrev octave-abbrev-table "`r" "return" nil 0 t)
88 (define-abbrev octave-abbrev-table "`s" "switch" nil) 87 (define-abbrev octave-abbrev-table "`s" "switch" nil 0 t)
89 (define-abbrev octave-abbrev-table "`t" "try" nil) 88 (define-abbrev octave-abbrev-table "`t" "try" nil 0 t)
90 (define-abbrev octave-abbrev-table "`up" "unwind_protect" nil) 89 (define-abbrev octave-abbrev-table "`up" "unwind_protect" nil 0 t)
91 (define-abbrev octave-abbrev-table "`upc" "unwind_protect_cleanup" nil) 90 (define-abbrev octave-abbrev-table "`upc" "unwind_protect_cleanup" nil 0 t)
92 (define-abbrev octave-abbrev-table "`w" "while ()" nil) 91 (define-abbrev octave-abbrev-table "`w" "while ()" nil 0 t)
93 (setq abbrevs-changed ac))) 92 (setq abbrevs-changed ac)))
94 93
95(defvar octave-comment-char ?# 94(defvar octave-comment-char ?#