diff src/minibuf.c @ 37858:fd7c0dac2110

Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing symbols' value directly.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 21 May 2001 12:34:11 +0000
parents c98e0f6d63f2
children
line wrap: on
line diff
--- a/src/minibuf.c	Mon May 21 12:28:26 2001 +0000
+++ b/src/minibuf.c	Mon May 21 12:34:11 2001 +0000
@@ -601,7 +601,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);