aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-07-30 03:17:18 +0000
committerJim Blandy1993-07-30 03:17:18 +0000
commitd859c2cb938ff78f78df02b21ffa50d67a2c15c7 (patch)
treec3bbf1e1f35a780a556834e2377a625b50548db4
parent628df3bfd9b83f5d7adfe7286a21b52f1f3e8d18 (diff)
downloademacs-d859c2cb938ff78f78df02b21ffa50d67a2c15c7.tar.gz
emacs-d859c2cb938ff78f78df02b21ffa50d67a2c15c7.zip
* xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name;
DEFVAR_LISP takes care of that, and it's deadly to staticpro a variable containing a string twice.
-rw-r--r--src/xfns.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 1d1b71eebc9..c394e882f48 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3723,7 +3723,6 @@ Emacs initially sets `x-resource-name' to the name under which Emacs\n\
3723was invoked, or to the value specified with the `-name' or `-rn'\n\ 3723was invoked, or to the value specified with the `-name' or `-rn'\n\
3724switches, if present."); 3724switches, if present.");
3725 Vx_resource_name = Qnil; 3725 Vx_resource_name = Qnil;
3726 staticpro (&Vx_resource_name);
3727 3726
3728#if 0 3727#if 0
3729 DEFVAR_INT ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape, 3728 DEFVAR_INT ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape,