diff src/minibuf.c @ 39581:6d9fa06012a6

Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing symbols' value directly.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 05 Oct 2001 09:49:39 +0000
parents 5921e30bf534
children d184cf4318ee
line wrap: on
line diff
--- a/src/minibuf.c	Fri Oct 05 09:49:16 2001 +0000
+++ b/src/minibuf.c	Fri Oct 05 09:49:39 2001 +0000
@@ -602,7 +602,7 @@
       Lisp_Object histval;
 
       /* If variable is unbound, make it nil.  */
-      if (EQ (XSYMBOL (Vminibuffer_history_variable)->value, Qunbound))
+      if (EQ (SYMBOL_VALUE (Vminibuffer_history_variable), Qunbound))
 	Fset (Vminibuffer_history_variable, Qnil);
 
       histval = Fsymbol_value (Vminibuffer_history_variable);