GNU bug report logs - #19680
24.4; option --no-bitmap-icon not working

Previous Next

Package: emacs;

Reported by: Preston Crow <frompreston2002315lt <at> crowcastle.net>

Date: Sat, 24 Jan 2015 23:50:01 UTC

Severity: minor

Tags: patch

Merged with 20007

Found in version 24.4

Fixed in version 24.5

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 19680 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Preston Crow <frompreston2002315lt <at> crowcastle.net>
Cc: Dmitry Antipov <dmantipov <at> yandex.ru>, 19680 <at> debbugs.gnu.org
Subject: Re: bug#19680: 24.4; option --no-bitmap-icon not working
Date: Thu, 05 Mar 2015 16:05:19 -0500
Preston Crow wrote:

> The command-line option "--no-bitmap-icon" used to turn off the bitmap
> icon, but after upgrading to the latest version, this option appears to
> be ignored.
>
> In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.6)

I suspect the 2013-09-17 changes to x_iconify_frame etc.
The following lightly tested patch seemed to fix it for me.
Since this is a new, seemingly simple problem in 24.4 it might be good
to fix it for 24.5; ie quickly in emacs-24.

--- a/src/frame.h
+++ b/src/frame.h
@@ -1349,7 +1349,7 @@ x_set_bitmap_icon (struct frame *f)
 {
   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));
 }
 





This bug report was last modified 10 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.