diff options
| author | Jim Blandy | 1993-07-30 03:17:18 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-30 03:17:18 +0000 |
| commit | d859c2cb938ff78f78df02b21ffa50d67a2c15c7 (patch) | |
| tree | c3bbf1e1f35a780a556834e2377a625b50548db4 /src | |
| parent | 628df3bfd9b83f5d7adfe7286a21b52f1f3e8d18 (diff) | |
| download | emacs-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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 1 |
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\ | |||
| 3723 | was invoked, or to the value specified with the `-name' or `-rn'\n\ | 3723 | was invoked, or to the value specified with the `-name' or `-rn'\n\ |
| 3724 | switches, if present."); | 3724 | switches, 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, |