diff options
| author | Karoly Lorentey | 2005-09-04 03:48:17 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-09-04 03:48:17 +0000 |
| commit | fbf349734468d48b421c3d03074bb66dfcf3115b (patch) | |
| tree | 0a7d1ee844b6c591a5a499d23e35931945106e5a /src/buffer.c | |
| parent | f0caabd962b662cccbea472995d86af718cc8d0b (diff) | |
| parent | 4b5fa40e1f1ba3cafde672863a0331311d1c2695 (diff) | |
| download | emacs-fbf349734468d48b421c3d03074bb66dfcf3115b.tar.gz emacs-fbf349734468d48b421c3d03074bb66dfcf3115b.zip | |
Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Patches applied:
* lorentey@elte.hu--2004/emacs--cvs-trunk--0--base-0
tag of miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-474
* lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-1
Add CVS metadata files.
* lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-2
Update from CVS.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-393
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/src/buffer.c b/src/buffer.c index 43727ce7b9d..30626f11a24 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Buffer manipulation primitives for GNU Emacs. | 1 | /* Buffer manipulation primitives for GNU Emacs. |
| 2 | Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, |
| 3 | 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc. | 3 | 1995, 1997, 1998, 1999, 2000, 2001, 2002, |
| 4 | 2003, 2004, 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -3557,10 +3558,12 @@ DEFUN ("make-overlay", Fmake_overlay, Smake_overlay, 2, 5, 0, | |||
| 3557 | doc: /* Create a new overlay with range BEG to END in BUFFER. | 3558 | doc: /* Create a new overlay with range BEG to END in BUFFER. |
| 3558 | If omitted, BUFFER defaults to the current buffer. | 3559 | If omitted, BUFFER defaults to the current buffer. |
| 3559 | BEG and END may be integers or markers. | 3560 | BEG and END may be integers or markers. |
| 3560 | The fourth arg FRONT-ADVANCE, if non-nil, makes the | 3561 | The fourth arg FRONT-ADVANCE, if non-nil, makes the marker |
| 3561 | front delimiter advance when text is inserted there. | 3562 | for the front of the overlay advance when text is inserted there |
| 3562 | The fifth arg REAR-ADVANCE, if non-nil, makes the | 3563 | (which means the text *is not* included in the overlay). |
| 3563 | rear delimiter advance when text is inserted there. */) | 3564 | The fifth arg REAR-ADVANCE, if non-nil, makes the marker |
| 3565 | for the rear of the overlay advance when text is inserted there | ||
| 3566 | (which means the text *is* included in the overlay). */) | ||
| 3564 | (beg, end, buffer, front_advance, rear_advance) | 3567 | (beg, end, buffer, front_advance, rear_advance) |
| 3565 | Lisp_Object beg, end, buffer; | 3568 | Lisp_Object beg, end, buffer; |
| 3566 | Lisp_Object front_advance, rear_advance; | 3569 | Lisp_Object front_advance, rear_advance; |
| @@ -5727,7 +5730,7 @@ that fraction of the window's height from the bottom of the window. | |||
| 5727 | When the value is 0.0, point goes at the bottom line, which in the simple | 5730 | When the value is 0.0, point goes at the bottom line, which in the simple |
| 5728 | case that you moved off with C-f means scrolling just one line. 1.0 means | 5731 | case that you moved off with C-f means scrolling just one line. 1.0 means |
| 5729 | point goes at the top, so that in that simple case, the window | 5732 | point goes at the top, so that in that simple case, the window |
| 5730 | window scrolls by a full window height. Meaningful values are | 5733 | scrolls by a full window height. Meaningful values are |
| 5731 | between 0.0 and 1.0, inclusive. */); | 5734 | between 0.0 and 1.0, inclusive. */); |
| 5732 | 5735 | ||
| 5733 | DEFVAR_PER_BUFFER ("scroll-down-aggressively", | 5736 | DEFVAR_PER_BUFFER ("scroll-down-aggressively", |
| @@ -5740,7 +5743,7 @@ that fraction of the window's height from the top of the window. | |||
| 5740 | When the value is 0.0, point goes at the top line, which in the simple | 5743 | When the value is 0.0, point goes at the top line, which in the simple |
| 5741 | case that you moved off with C-b means scrolling just one line. 1.0 means | 5744 | case that you moved off with C-b means scrolling just one line. 1.0 means |
| 5742 | point goes at the bottom, so that in that simple case, the window | 5745 | point goes at the bottom, so that in that simple case, the window |
| 5743 | window scrolls by a full window height. Meaningful values are | 5746 | scrolls by a full window height. Meaningful values are |
| 5744 | between 0.0 and 1.0, inclusive. */); | 5747 | between 0.0 and 1.0, inclusive. */); |
| 5745 | 5748 | ||
| 5746 | /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, | 5749 | /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, |
| @@ -5928,15 +5931,15 @@ is a member of the list. */); | |||
| 5928 | doc: /* Cursor to use when this buffer is in the selected window. | 5931 | doc: /* Cursor to use when this buffer is in the selected window. |
| 5929 | Values are interpreted as follows: | 5932 | Values are interpreted as follows: |
| 5930 | 5933 | ||
| 5931 | t use the cursor specified for the frame | 5934 | t use the cursor specified for the frame |
| 5932 | nil don't display a cursor | 5935 | nil don't display a cursor |
| 5933 | box display a filled box cursor | 5936 | box display a filled box cursor |
| 5934 | hollow display a hollow box cursor | 5937 | hollow display a hollow box cursor |
| 5935 | bar display a vertical bar cursor with default width | 5938 | bar display a vertical bar cursor with default width |
| 5936 | (bar . WIDTH) display a vertical bar cursor with width WIDTH | 5939 | (bar . WIDTH) display a vertical bar cursor with width WIDTH |
| 5937 | hbar display a horizontal bar cursor with default height | 5940 | hbar display a horizontal bar cursor with default height |
| 5938 | (hbar . HEIGHT) display a horizontal bar cursor with height HEIGHT | 5941 | (hbar . HEIGHT) display a horizontal bar cursor with height HEIGHT |
| 5939 | ANYTHING ELSE display a hollow box cursor. | 5942 | ANYTHING ELSE display a hollow box cursor |
| 5940 | 5943 | ||
| 5941 | When the buffer is displayed in a nonselected window, | 5944 | When the buffer is displayed in a nonselected window, |
| 5942 | this variable has no effect; the cursor appears as a hollow box. */); | 5945 | this variable has no effect; the cursor appears as a hollow box. */); |