diff options
| author | Jim Blandy | 1992-08-19 07:06:09 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-08-19 07:06:09 +0000 |
| commit | c89475dcaaa46b52dc79aa1171f099ce9d7b53d0 (patch) | |
| tree | 36e887317e77c66f5875b7d34cc2a20e2f23e19d /src | |
| parent | 4c6e656ffe07bdacbe441d3f37fd5eeb74476fba (diff) | |
| download | emacs-c89475dcaaa46b52dc79aa1171f099ce9d7b53d0.tar.gz emacs-c89475dcaaa46b52dc79aa1171f099ce9d7b53d0.zip | |
* abbrev.c (syms_of_abbrev): Call DEFVAR_PER_BUFFER with the new
TYPE argument.
Diffstat (limited to 'src')
| -rw-r--r-- | src/abbrev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/abbrev.c b/src/abbrev.c index 2fa55408008..f31ccc9edae 100644 --- a/src/abbrev.c +++ b/src/abbrev.c | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | /* Primitives for word-abbrev mode. | 1 | /* Primitives for word-abbrev mode. |
| 2 | Copyright (C) 1985, 1986 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) | 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. | 9 | any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -224,8 +224,8 @@ Returns t if expansion took place.") | |||
| 224 | 224 | ||
| 225 | if (!NILP (Vrun_hooks)) | 225 | if (!NILP (Vrun_hooks)) |
| 226 | call1 (Vrun_hooks, Qpre_abbrev_expand_hook); | 226 | call1 (Vrun_hooks, Qpre_abbrev_expand_hook); |
| 227 | /* If the hook changes the buffer, treat that as | 227 | /* If the hook changes the buffer, treat that as having "done an |
| 228 | having "done an expansion". */ | 228 | expansion". */ |
| 229 | value = (MODIFF != oldmodiff ? Qt : Qnil); | 229 | value = (MODIFF != oldmodiff ? Qt : Qnil); |
| 230 | 230 | ||
| 231 | if (XBUFFER (Vabbrev_start_location_buffer) != current_buffer) | 231 | if (XBUFFER (Vabbrev_start_location_buffer) != current_buffer) |
| @@ -527,7 +527,7 @@ Calling `expand-abbrev' sets this to nil."); | |||
| 527 | Trying to expand an abbrev in any other buffer clears `abbrev-start-location'."); | 527 | Trying to expand an abbrev in any other buffer clears `abbrev-start-location'."); |
| 528 | Vabbrev_start_location_buffer = Qnil; | 528 | Vabbrev_start_location_buffer = Qnil; |
| 529 | 529 | ||
| 530 | DEFVAR_PER_BUFFER ("local-abbrev-table", ¤t_buffer->abbrev_table, | 530 | DEFVAR_PER_BUFFER ("local-abbrev-table", ¤t_buffer->abbrev_table, Qnil, |
| 531 | "Local (mode-specific) abbrev table of current buffer."); | 531 | "Local (mode-specific) abbrev table of current buffer."); |
| 532 | 532 | ||
| 533 | DEFVAR_BOOL ("abbrevs-changed", &abbrevs_changed, | 533 | DEFVAR_BOOL ("abbrevs-changed", &abbrevs_changed, |