diff options
| author | Gerd Moellmann | 2000-03-27 19:55:38 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-27 19:55:38 +0000 |
| commit | 11fd416e9fae8fe2877a58e9770da7738065f61e (patch) | |
| tree | 0542b2deefd65a447a106c7341e5c8a7117863ca /src | |
| parent | 182ff2422523ba57c925b772c9c564c06a07b3fc (diff) | |
| download | emacs-11fd416e9fae8fe2877a58e9770da7738065f61e.tar.gz emacs-11fd416e9fae8fe2877a58e9770da7738065f61e.zip | |
Use new macro names for handling per-buffer variables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lread.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0ba06ba5dd3..a134ef1afd8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. | 28 | * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
| 29 | 29 | ||
| 30 | * xfaces.c (register_color, unregister_colors, unregister_colors) | 30 | * xfaces.c (register_color, unregister_color, unregister_colors) |
| 31 | [DEBUG_X_COLORS]: New functions. | 31 | [DEBUG_X_COLORS]: New functions. |
| 32 | (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | 32 | (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. |
| 33 | 33 | ||
| @@ -47,8 +47,8 @@ | |||
| 47 | (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | 47 | (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. |
| 48 | (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | 48 | (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. |
| 49 | 49 | ||
| 50 | * category.c, data.c, syntax.c, print.c: Use new macro names | 50 | * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
| 51 | for handling per-buffer variables. | 51 | names for handling per-buffer variables. |
| 52 | 52 | ||
| 53 | * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | 53 | * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS |
| 54 | instead of MAX_BUFFER_LOCAL_VARS. | 54 | instead of MAX_BUFFER_LOCAL_VARS. |
diff --git a/src/lread.c b/src/lread.c index 0eb7c486a37..02d6bbd3c37 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -3160,10 +3160,10 @@ defvar_per_buffer (namestring, address, type, doc) | |||
| 3160 | XMISCTYPE (val) = Lisp_Misc_Buffer_Objfwd; | 3160 | XMISCTYPE (val) = Lisp_Misc_Buffer_Objfwd; |
| 3161 | XBUFFER_OBJFWD (val)->offset = offset; | 3161 | XBUFFER_OBJFWD (val)->offset = offset; |
| 3162 | XSYMBOL (sym)->value = val; | 3162 | XSYMBOL (sym)->value = val; |
| 3163 | BUFFER_LOCAL_SYMBOL (offset) = sym; | 3163 | PER_BUFFER_SYMBOL (offset) = sym; |
| 3164 | BUFFER_LOCAL_TYPE (offset) = type; | 3164 | PER_BUFFER_TYPE (offset) = type; |
| 3165 | 3165 | ||
| 3166 | if (BUFFER_LOCAL_IDX (offset) == 0) | 3166 | if (PER_BUFFER_IDX (offset) == 0) |
| 3167 | /* Did a DEFVAR_PER_BUFFER without initializing the corresponding | 3167 | /* Did a DEFVAR_PER_BUFFER without initializing the corresponding |
| 3168 | slot of buffer_local_flags */ | 3168 | slot of buffer_local_flags */ |
| 3169 | abort (); | 3169 | abort (); |