]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Wed, 29 Sep 2004 12:39:27 +0000 (12:39 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 29 Sep 2004 12:39:27 +0000 (12:39 +0000)
etc/NEWS
lispref/ChangeLog
src/ChangeLog

index 84c90016f6fc39809946651dbf34e5c095cf6a13..0f3d5b2ce7a919eb04c40801d3926278cf5e7e9a 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -382,18 +382,15 @@ This behavior is activated by setting the buffer-local variable
 this variable is found in `default-indicate-buffer-boundaries'.
 
 If value is `left' or `right', both angle and arrow bitmaps are
-displayed in the left or right fringe, resp.  Any other non-nil value
-causes the bitmap on the top line to be displayed in the left fringe,
-and the bitmap on the bottom line in the right fringe.
+displayed in the left or right fringe, resp.
 
-If value is a cons (ANGLES . ARROWS), the car specifies the position
-of the angle bitmaps, and the cdr specifies the position of the arrow
-bitmaps.
+Value may also be an alist which specifies the presense and position
+of each bitmap individually.
 
-For example, (t .  right) places the top angle bitmap in left fringe,
-the bottom angle bitmap in right fringe, and both arrow bitmaps in
-right fringe.  To show just the angle bitmaps in the left fringe, but
-no arrow bitmaps, use (left . nil).
+For example, ((top . left) (t .  right)) places the top angle bitmap
+in left fringe, the bottom angle bitmap in right fringe, and both
+arrow bitmaps in right fringe.  To show just the angle bitmaps in the
+left fringe, but no arrow bitmaps, use ((top . left) (bottom . left)).
 
 ** New command `display-local-help' displays any local help at point
 in the echo area.  It is bound to `C-h .'.  It normally displays the
@@ -2463,13 +2460,11 @@ use of the capabilities of the display.
 +++
 ** Customizable fringe bitmaps
 
-*** New function 'define-fringe-bitmap' can now be used to change the
-built-in fringe bitmaps, as well as create new fringe bitmaps.
-The return value is a number identifying the new fringe bitmap.
+*** New function 'define-fringe-bitmap' can now be used to create new
+fringe bitmaps, as well as change the built-in fringe bitmaps.
 
-To change a built-in bitmap, do (require 'fringe) and identify the
-bitmap to change with the value of the corresponding symbol, like
-`left-truncation-fringe-bitmap' or `continued-line-fringe-bitmap'.
+To change a built-in bitmap, do (require 'fringe) and use the symbol
+identifing the bitmap such as `left-truncation or `continued-line'.
 
 *** New function 'destroy-fringe-bitmap' may be used to destroy a
 previously created bitmap, or restore a built-in bitmap.
@@ -2484,7 +2479,7 @@ that can be used to show a specific bitmap in the left or right fringe
 bitmap of the display line.
 
 Format is 'display '(left-fringe BITMAP [FACE]), where BITMAP is a
-number identifying a fringe bitmap, either built-in or as returned by
+symbol identifying a fringe bitmap, either built-in or defined with
 `define-fringe-bitmap', and FACE is an optional face name to be used
 for displaying the bitmap.
 
index 8c25fe6c5315a15487d7fee1594c07237b3348cc..b568e99fb58580e5ce6c12e55cc0189c91a5ff78 100644 (file)
@@ -1,3 +1,12 @@
+2004-09-29  Kim F. Storm  <storm@cua.dk>
+
+       * display.texi (Fringe Bitmaps): Use symbols rather than numbers
+       to identify bitmaps.  Remove -fringe-bitmap suffix for standard
+       fringe bitmap symbols, as they now have their own namespace.
+       (Customizing Bitmaps) <define-fringe-bitmap>: Clarify bit ordering
+       vs. pixels.  Signal error if no free bitmap slots.
+       (Pixel Specification): Change IMAGE to @var{image}.
+
 2004-09-28  Richard M. Stallman  <rms@gnu.org>
 
        * text.texi (Special Properties): Clarify line-spacing and line-height.
index 31823dc3571d43d79b1246f6d251e0eb77a8fbb1..3fc57d212633299c572320ad2f430b162d3dd4a3 100644 (file)
@@ -1,3 +1,18 @@
+2004-09-29  Kim F. Storm  <storm@cua.dk>
+
+       * fringe.c: Simplity last change.
+       (lookup_fringe_bitmap): New function.
+       (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove.
+       (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap.
+       Keep standard bitmaps in Vfringe_bitmaps.
+       (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap.
+       (Fset_fringe_bitmap_face): Likewise.
+
+       * dispextern.h (lookup_fringe_bitmap): Add prototype.
+       (valid_fringe_bitmap_p): Remove prototype.
+
+       * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap.
+
 2004-09-29  Kim F. Storm  <storm@cua.dk>
 
        * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap)