1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

*** empty log message ***

This commit is contained in:
Kim F. Storm 2004-09-29 12:39:27 +00:00
parent 983f1af9dd
commit f2a54fbc7a
3 changed files with 36 additions and 17 deletions

View File

@ -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.

View 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.

View 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)