changeset 29471:215b57502518

*** empty log message ***
author Dave Love <fx@gnu.org>
date Tue, 06 Jun 2000 14:56:30 +0000
parents 7bde123bed95
children 9c2d98569dca
files lisp/ChangeLog lispref/display.texi lwlib/ChangeLog
diffstat 3 files changed, 39 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Jun 06 14:27:42 2000 +0000
+++ b/lisp/ChangeLog	Tue Jun 06 14:56:30 2000 +0000
@@ -1,3 +1,8 @@
+2000-06-06  Dave Love  <fx@gnu.org>
+
+	* image.el (find-image): Doc fix.  Return nil if image not found.
+	(put-image, insert-image): Make STRING arg optional.
+
 2000-06-06  Kenichi Handa  <handa@etl.go.jp>
 
 	* language/vietnamese.el: Remove eval-when-compile.
--- a/lispref/display.texi	Tue Jun 06 14:27:42 2000 +0000
+++ b/lispref/display.texi	Tue Jun 06 14:56:30 2000 +0000
@@ -533,11 +533,14 @@
 @defvar overlay-arrow-string
 This variable holds the string to display to call attention to a
 particular line, or @code{nil} if the arrow feature is not in use.
+On a graphical display the contents of the string are ignored; instead a
+glyph is displayed in the fringe area to the left of the display area.
 @end defvar
 
 @defvar overlay-arrow-position
 This variable holds a marker that indicates where to display the overlay
-arrow.  It should point at the beginning of a line.  The arrow text
+arrow.  It should point at the beginning of a line.  On a non-graphical
+display the arrow text
 appears at the beginning of that line, overlaying any text that would
 otherwise appear.  Since the arrow is usually short, and the line
 usually begins with indentation, normally nothing significant is
@@ -2322,7 +2325,7 @@
 @cindex conditional display specifications
 
   You can make any display specification conditional.  To do that,
-package it in another list of the form @code{(when @var{condition}
+package it in another list of the form @code{(when @var{condition} .
 @var{spec})}.  Then the specification @var{spec} applies only when
 @var{condition} evaluates to a non-@code{nil} value.  During the
 evaluation, point is temporarily set at the end position of the text
@@ -2674,7 +2677,7 @@
 property yourself, but it is easier to use the functions in this
 section.
 
-@defun insert-image image string &optional area
+@defun insert-image image &optional string area
 This function inserts @var{image} in the current buffer at point.  The
 value @var{image} should be an image descriptor; it could be a value
 returned by @code{create-image}, or the value of a symbol defined with
@@ -2692,11 +2695,12 @@
 Property}.
 @end defun
 
-@defun put-image image pos string &optional area
+@defun put-image image pos &optional string area
 This function puts image @var{image} in front of @var{pos} in the
 current buffer.  The argument @var{pos} should be an integer or a
 marker.  It specifies the buffer position where the image should appear.
-The argument @var{string} specifies the text that should hold the image.
+The argument @var{string} specifies the text that should hold the image
+as an alternative to the default.
 
 The argument @var{image} must be an image descriptor, perhaps returned
 by @code{create-image} or stored by @code{defimage}.
--- a/lwlib/ChangeLog	Tue Jun 06 14:27:42 2000 +0000
+++ b/lwlib/ChangeLog	Tue Jun 06 14:56:30 2000 +0000
@@ -1,3 +1,28 @@
+2000-06-06  Dave Love  <fx@gnu.org>
+
+	* xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors)
+	(x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes
+	-- should be moved into separate header.
+	(make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first
+	arg.
+	(Start) <pop_up_menu>: Cast second arg.
+
+	* lwlib.c (P_): Use PROTOTYPES.
+	(safe_strdup): Declare arg const.
+	(lw_modify_all_widgets) <!info>: Return 0.
+
+	* lwlib-Xm.c (P_): Use PROTOTYPES.
+
+	* xlwmenu.h, lwlib.h, lwlib-utils.h, lwlib-int.h, lwlib-Xm.h:
+	* lwlib-Xlw.h, lwlib-Xaw.h: Enable prototypes.
+
+	* lwlib-Xaw.c (xaw_popup_menu): Add EVENT arg.
+
+	* Makefile.in (lwlib.o): Depend on lwlib-Xlw.h.
+	(lwlib-Xlw.o): Depend on lwlib-Xlw.h.
+	(lwlib-Xaw.o): Depend on lwlib-Xaw.h.
+	(lwlib-Xm.o): Depend on lwlib-Xm.h.
+
 2000-03-12  Gerd Moellmann  <gerd@gnu.org>
 
 	* lwlib-Xm.c (make_menubar) [LESSTIF_VERSION]: Don't set