Mercurial > emacs
diff src/keyboard.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 | c3dd00963b46 |
children |
line wrap: on
line diff
--- a/src/keyboard.c Mon May 21 12:28:26 2001 +0000 +++ b/src/keyboard.c Mon May 21 12:34:11 2001 +0000 @@ -10640,7 +10640,7 @@ "Normal hook run when clearing the echo area."); #endif Qecho_area_clear_hook = intern ("echo-area-clear-hook"); - XSYMBOL (Qecho_area_clear_hook)->value = Qnil; + SET_SYMBOL_VALUE (Qecho_area_clear_hook, Qnil); DEFVAR_LISP ("lucid-menu-bar-dirty-flag", &Vlucid_menu_bar_dirty_flag, "t means menu bar, specified Lucid style, needs to be recomputed.");