diff options
| author | K. Handa | 2016-01-14 21:55:43 +0900 |
|---|---|---|
| committer | K. Handa | 2016-01-14 21:55:43 +0900 |
| commit | 641a3472ef245157ebcb2114f2d608cb3cb401a7 (patch) | |
| tree | 85e524c8d12caca29588382205f536b2008edc55 /src/buffer.c | |
| parent | 9835757013569673854b692ccbb58bfb3c3ed1f7 (diff) | |
| parent | ee83b77f5ddede0fed518d0c23cf0ae38ce5b745 (diff) | |
| download | emacs-641a3472ef245157ebcb2114f2d608cb3cb401a7.tar.gz emacs-641a3472ef245157ebcb2114f2d608cb3cb401a7.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c index ab91aaa4e81..1468e7a2be1 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Buffer manipulation primitives for GNU Emacs. | 1 | /* Buffer manipulation primitives for GNU Emacs. |
| 2 | 2 | ||
| 3 | Copyright (C) 1985-1989, 1993-1995, 1997-2015 Free Software Foundation, | 3 | Copyright (C) 1985-1989, 1993-1995, 1997-2016 Free Software Foundation, |
| 4 | Inc. | 4 | Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| @@ -1999,7 +1999,7 @@ the current buffer's major mode. */) | |||
| 1999 | /* To select a nonfundamental mode, | 1999 | /* To select a nonfundamental mode, |
| 2000 | select the buffer temporarily and then call the mode function. */ | 2000 | select the buffer temporarily and then call the mode function. */ |
| 2001 | 2001 | ||
| 2002 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); | 2002 | record_unwind_current_buffer (); |
| 2003 | 2003 | ||
| 2004 | Fset_buffer (buffer); | 2004 | Fset_buffer (buffer); |
| 2005 | call0 (function); | 2005 | call0 (function); |
| @@ -5803,11 +5803,14 @@ you probably should set this to -2 in that buffer. */); | |||
| 5803 | DEFVAR_PER_BUFFER ("selective-display", &BVAR (current_buffer, selective_display), | 5803 | DEFVAR_PER_BUFFER ("selective-display", &BVAR (current_buffer, selective_display), |
| 5804 | Qnil, | 5804 | Qnil, |
| 5805 | doc: /* Non-nil enables selective display. | 5805 | doc: /* Non-nil enables selective display. |
| 5806 | |||
| 5806 | An integer N as value means display only lines | 5807 | An integer N as value means display only lines |
| 5807 | that start with less than N columns of space. | 5808 | that start with less than N columns of space. |
| 5809 | |||
| 5808 | A value of t means that the character ^M makes itself and | 5810 | A value of t means that the character ^M makes itself and |
| 5809 | all the rest of the line invisible; also, when saving the buffer | 5811 | all the rest of the line invisible; also, when saving the buffer |
| 5810 | in a file, save the ^M as a newline. */); | 5812 | in a file, save the ^M as a newline. This usage is obsolete; use |
| 5813 | overlays or text properties instead. */); | ||
| 5811 | 5814 | ||
| 5812 | DEFVAR_PER_BUFFER ("selective-display-ellipses", | 5815 | DEFVAR_PER_BUFFER ("selective-display-ellipses", |
| 5813 | &BVAR (current_buffer, selective_display_ellipses), | 5816 | &BVAR (current_buffer, selective_display_ellipses), |
| @@ -6201,11 +6204,11 @@ all windows or just the selected window. | |||
| 6201 | 6204 | ||
| 6202 | Lisp programs may give this variable certain special values: | 6205 | Lisp programs may give this variable certain special values: |
| 6203 | 6206 | ||
| 6204 | - A value of `lambda' enables Transient Mark mode temporarily. | 6207 | - The symbol `lambda' enables Transient Mark mode temporarily. |
| 6205 | It is disabled again after any subsequent action that would | 6208 | The mode is disabled again after any subsequent action that would |
| 6206 | normally deactivate the mark (e.g. buffer modification). | 6209 | normally deactivate the mark (e.g. buffer modification). |
| 6207 | 6210 | ||
| 6208 | - A value of (only . OLDVAL) enables Transient Mark mode | 6211 | - The pair (only . OLDVAL) enables Transient Mark mode |
| 6209 | temporarily. After any subsequent point motion command that is | 6212 | temporarily. After any subsequent point motion command that is |
| 6210 | not shift-translated, or any other action that would normally | 6213 | not shift-translated, or any other action that would normally |
| 6211 | deactivate the mark (e.g. buffer modification), the value of | 6214 | deactivate the mark (e.g. buffer modification), the value of |