aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS9
-rw-r--r--lisp/ChangeLog2
-rw-r--r--src/ChangeLog13
3 files changed, 24 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f41d227c323..38a8a6b6b7e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2423,6 +2423,15 @@ character units (fractions of the width/height of the frame's default
2423font). FRAME is the frame on which the image will be displayed. 2423font). FRAME is the frame on which the image will be displayed.
2424FRAME nil or omitted means use the selected frame. 2424FRAME nil or omitted means use the selected frame.
2425 2425
2426** The function `image-mask-p' can be used to determine if an image
2427has a mask bitmap.
2428
2429- Function: image-mask-p SPEC &optional FRAME
2430
2431Return t if image SPEC has a mask bitmap.
2432FRAME is the frame on which the image will be displayed. FRAME nil
2433or omitted means use the selected frame.
2434
2426+++ 2435+++
2427** The function `find-image' can be used to find a usable image 2436** The function `find-image' can be used to find a usable image
2428satisfying one of a list of specifications. 2437satisfying one of a list of specifications.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6f05d56c6cd..7d742e7ffbb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12000-09-15 Gerd Moellmann <gerd@gnu.org> 12000-09-15 Gerd Moellmann <gerd@gnu.org>
2 2
3 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
4
3 * image.el (create-image): Doc fix. 5 * image.el (create-image): Doc fix.
4 6
5 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic' 7 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
diff --git a/src/ChangeLog b/src/ChangeLog
index 15f88c91a58..00a9f4f426a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,18 @@
12000-09-15 Gerd Moellmann <gerd@gnu.org> 12000-09-15 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color
4 allocation functions with the XPM lib.
5 (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure.
6 (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro.
7 (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable.
8 (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color)
9 (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New
10 functions.
11 (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation
12 functions, if possible, because these handle color allocation
13 failure more gracefully.
14 (Fimage_mask_p): New function.
15
3 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) 16 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss)
4 (Qedge_detection, Qheuristic): New symbols. 17 (Qedge_detection, Qheuristic): New symbols.
5 (syms_of_xfns): Initialize new symbols. 18 (syms_of_xfns): Initialize new symbols.