]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name;
authorJim Blandy <jimb@redhat.com>
Fri, 30 Jul 1993 03:17:18 +0000 (03:17 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 30 Jul 1993 03:17:18 +0000 (03:17 +0000)
DEFVAR_LISP takes care of that, and it's deadly to staticpro a
variable containing a string twice.

src/xfns.c

index 1d1b71eebc9cb5ba036ba008716a74ed949e33ac..c394e882f4809ba1fb2bf98e13f9c734cbb905a9 100644 (file)
@@ -3723,7 +3723,6 @@ Emacs initially sets `x-resource-name' to the name under which Emacs\n\
 was invoked, or to the value specified with the `-name' or `-rn'\n\
 switches, if present.");
   Vx_resource_name = Qnil;
-  staticpro (&Vx_resource_name);
 
 #if 0
   DEFVAR_INT ("x-nontext-pointer-shape", &Vx_nontext_pointer_shape,