mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 00:00:39 -08:00
Fix --no-bitmap-icon
* src/frame.h (x_set_bitmap_icon): Don't set the icon if icon-type is nil/not present in the parameter alist. Fixes: debbugs:19680
This commit is contained in:
parent
b21a56ac91
commit
cc11321582
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-03-12 Glenn Morris <rgm@gnu.org>
|
||||||
|
|
||||||
|
* frame.h (x_set_bitmap_icon): Don't set the icon if icon-type is
|
||||||
|
nil/not present in the parameter alist. (Bug#19680)
|
||||||
|
|
||||||
2015-02-28 Eli Zaretskii <eliz@gnu.org>
|
2015-02-28 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
* search.c (find_newline): Avoid assertion violations in
|
* search.c (find_newline): Avoid assertion violations in
|
||||||
|
|
|
||||||
|
|
@ -1349,7 +1349,7 @@ x_set_bitmap_icon (struct frame *f)
|
||||||
{
|
{
|
||||||
Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist);
|
Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist);
|
||||||
|
|
||||||
if (CONSP (obj))
|
if (CONSP (obj) && !NILP (XCDR (obj)))
|
||||||
x_bitmap_icon (f, XCDR (obj));
|
x_bitmap_icon (f, XCDR (obj));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue