aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 9f55a8813fa..43a9249528c 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1340,7 +1340,7 @@ buffer_local_value (Lisp_Object variable, Lisp_Object buffer)
1340 case SYMBOL_LOCALIZED: 1340 case SYMBOL_LOCALIZED:
1341 { /* Look in local_var_alist. */ 1341 { /* Look in local_var_alist. */
1342 struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym); 1342 struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym);
1343 variable = make_lisp_symbol (sym); /* Update In case of aliasing. */ 1343 XSETSYMBOL (variable, sym); /* Update In case of aliasing. */
1344 result = assq_no_quit (variable, BVAR (buf, local_var_alist)); 1344 result = assq_no_quit (variable, BVAR (buf, local_var_alist));
1345 if (!NILP (result)) 1345 if (!NILP (result))
1346 { 1346 {
@@ -4985,7 +4985,7 @@ defvar_per_buffer (struct Lisp_Buffer_Objfwd *bo_fwd, const char *namestring,
4985 sym->u.s.declared_special = true; 4985 sym->u.s.declared_special = true;
4986 sym->u.s.redirect = SYMBOL_FORWARDED; 4986 sym->u.s.redirect = SYMBOL_FORWARDED;
4987 SET_SYMBOL_FWD (sym, bo_fwd); 4987 SET_SYMBOL_FWD (sym, bo_fwd);
4988 PER_BUFFER_SYMBOL (offset) = make_lisp_symbol (sym); 4988 XSETSYMBOL (PER_BUFFER_SYMBOL (offset), sym);
4989 4989
4990 if (PER_BUFFER_IDX (offset) == 0) 4990 if (PER_BUFFER_IDX (offset) == 0)
4991 /* Did a DEFVAR_PER_BUFFER without initializing the corresponding 4991 /* Did a DEFVAR_PER_BUFFER without initializing the corresponding