comparison src/buffer.c @ 57245:8c66fdb3c3ba

(syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. Format may now be a symbol or alist, not a cons.
author Kim F. Storm <storm@cua.dk>
date Mon, 27 Sep 2004 13:28:10 +0000
parents 5358b2582e78
children 804f28bbd89c b85b19b8eb65 e23928ac5a97
comparison
equal deleted inserted replaced
57244:974b63096b30 57245:8c66fdb3c3ba
5680 doc: /* *Visually indicate buffer boundaries and scrolling. 5680 doc: /* *Visually indicate buffer boundaries and scrolling.
5681 If non-nil, the first and last line of the buffer are marked in the fringe 5681 If non-nil, the first and last line of the buffer are marked in the fringe
5682 of a window on window-systems with angle bitmaps, or if the window can be 5682 of a window on window-systems with angle bitmaps, or if the window can be
5683 scrolled, the top and bottom line of the window are marked with up and down 5683 scrolled, the top and bottom line of the window are marked with up and down
5684 arrow bitmaps. 5684 arrow bitmaps.
5685 If value is `left' or `right', both angle and arrow bitmaps are displayed in 5685
5686 the left or right fringe, resp. Any other non-nil value causes the 5686 If value is a symbol `left' or `right', both angle and arrow bitmaps
5687 bitmap on the top line to be displayed in the left fringe, and the 5687 are displayed in the left or right fringe, resp.
5688 bitmap on the bottom line in the right fringe. 5688
5689 If value is a cons (ANGLES . ARROWS), the car specifies the position 5689 If value is an alist, each element (INDICATOR . POSITION) specifies
5690 of the angle bitmaps, and the cdr specifies the position of the arrow 5690 the position of one of the indicators. INDICATOR is one of `top',
5691 bitmaps. For example, (t . right) places the top angle bitmap in left 5691 `bottom', `up', `down', or t, which specifies the default position,
5692 fringe, the bottom angle bitmap in right fringe, and both arrow 5692 and POSITION is one of `left', `right', or nil, meaning do not show
5693 this indicator.
5694
5695 For example, ((top . left) (t . right)) places the top angle bitmap in
5696 left fringe, the bottom angle bitmap in right fringe, and both arrow
5693 bitmaps in right fringe. To show just the angle bitmaps in the left 5697 bitmaps in right fringe. To show just the angle bitmaps in the left
5694 fringe, but no arrow bitmaps, use (left . nil). */); 5698 fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */);
5695 5699
5696 DEFVAR_PER_BUFFER ("scroll-up-aggressively", 5700 DEFVAR_PER_BUFFER ("scroll-up-aggressively",
5697 &current_buffer->scroll_up_aggressively, Qnil, 5701 &current_buffer->scroll_up_aggressively, Qnil,
5698 doc: /* How far to scroll windows upward. 5702 doc: /* How far to scroll windows upward.
5699 If you move point off the bottom, the window scrolls automatically. 5703 If you move point off the bottom, the window scrolls automatically.