# HG changeset patch # User Jim Blandy # Date 714207969 0 # Node ID d31e1e0844aae447bcbc9cf624ef9d527b35be7b # Parent f7e3bac23a06c9ce8631a1419913189faf8cbc71 * abbrev.c (syms_of_abbrev): Call DEFVAR_PER_BUFFER with the new TYPE argument. diff -r f7e3bac23a06 -r d31e1e0844aa src/abbrev.c --- a/src/abbrev.c Wed Aug 19 07:00:42 1992 +0000 +++ b/src/abbrev.c Wed Aug 19 07:06:09 1992 +0000 @@ -1,11 +1,11 @@ /* Primitives for word-abbrev mode. - Copyright (C) 1985, 1986 Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) +the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, @@ -224,8 +224,8 @@ if (!NILP (Vrun_hooks)) call1 (Vrun_hooks, Qpre_abbrev_expand_hook); - /* If the hook changes the buffer, treat that as - having "done an expansion". */ + /* If the hook changes the buffer, treat that as having "done an + expansion". */ value = (MODIFF != oldmodiff ? Qt : Qnil); if (XBUFFER (Vabbrev_start_location_buffer) != current_buffer) @@ -527,7 +527,7 @@ Trying to expand an abbrev in any other buffer clears `abbrev-start-location'."); Vabbrev_start_location_buffer = Qnil; - DEFVAR_PER_BUFFER ("local-abbrev-table", ¤t_buffer->abbrev_table, + DEFVAR_PER_BUFFER ("local-abbrev-table", ¤t_buffer->abbrev_table, Qnil, "Local (mode-specific) abbrev table of current buffer."); DEFVAR_BOOL ("abbrevs-changed", &abbrevs_changed,