aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-06 07:08:03 +0000
committerRichard M. Stallman1994-10-06 07:08:03 +0000
commit0fb53770ced9c9e1f34c318d2bebf0e37e46bcb5 (patch)
treeeaf1de9051da241402407307442d996aade15089 /src
parent132ad5641e52ab7b30d1546ca51de9604e5e75c9 (diff)
downloademacs-0fb53770ced9c9e1f34c318d2bebf0e37e46bcb5.tar.gz
emacs-0fb53770ced9c9e1f34c318d2bebf0e37e46bcb5.zip
(x_set_icon_type): Remove period from error message.
(x_icon_type): New function.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index da8ed3826dc..562c366458b 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1095,7 +1095,7 @@ x_set_icon_type (f, arg, oldval)
1095 if (result) 1095 if (result)
1096 { 1096 {
1097 UNBLOCK_INPUT; 1097 UNBLOCK_INPUT;
1098 error ("No icon window available."); 1098 error ("No icon window available");
1099 } 1099 }
1100 1100
1101 /* If the window was unmapped (and its icon was mapped), 1101 /* If the window was unmapped (and its icon was mapped),
@@ -1110,6 +1110,18 @@ x_set_icon_type (f, arg, oldval)
1110 UNBLOCK_INPUT; 1110 UNBLOCK_INPUT;
1111} 1111}
1112 1112
1113/* Return 1 if frame F wants a bitmap icon. */
1114
1115int
1116x_icon_type (f)
1117 FRAME_PTR f;
1118{
1119 Lisp_Object tem;
1120
1121 tem = assq_no_quit (Qicon_type, f->param_alist);
1122 return (CONSP (tem) && ! NILP (XCONS (tem)->cdr));
1123}
1124
1113extern Lisp_Object x_new_font (); 1125extern Lisp_Object x_new_font ();
1114 1126
1115void 1127void