diff options
author | Miles Bader <miles@gnu.org> | 2006-06-07 18:05:10 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2006-06-07 18:05:10 +0000 |
commit | b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch) | |
tree | de3804210a8cd955e0d3b9abc15679480930bc82 /src/xfns.c | |
parent | 885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff) | |
parent | 26c9afc3239e18b03537faaea33e3e82e28099e6 (diff) | |
download | emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.bz2 emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 285-296)
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: admin/FOR-RELEASE: Update refcard section.
* gnus--rel--5.10 (patch 102-104)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c index ed6d00d0325..b4d16615fb0 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1256,7 +1256,7 @@ x_set_icon_name (f, arg, oldval) if (STRINGP (oldval) && EQ (Fstring_equal (oldval, arg), Qt)) return; } - else if (!STRINGP (oldval) && EQ (oldval, Qnil) == EQ (arg, Qnil)) + else if (!NILP (arg) || NILP (oldval)) return; f->icon_name = arg; @@ -1612,7 +1612,7 @@ x_set_name_internal (f, name) text.format = 8; text.nitems = bytes; - if (NILP (f->icon_name)) + if (!STRINGP (f->icon_name)) { icon = text; } |