aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2013-09-26 10:37:16 +0300
committerEli Zaretskii2013-09-26 10:37:16 +0300
commitb87c4ff2817e71ca71b028792200b1e069a95e04 (patch)
treebfe00c0655fa02078a9ab2c633ea06d90c4a2064 /src/buffer.c
parentbbc108377873aa6ed7cf21c731770103096eea39 (diff)
parentba355de014b75ed104da4777f909db70d62f2357 (diff)
downloademacs-b87c4ff2817e71ca71b028792200b1e069a95e04.tar.gz
emacs-b87c4ff2817e71ca71b028792200b1e069a95e04.zip
Merge from trunk.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0bcb608dbd3..1570f3831ac 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -20,8 +20,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21#include <config.h> 21#include <config.h>
22 22
23#define BUFFER_INLINE EXTERN_INLINE
24
25#include <sys/types.h> 23#include <sys/types.h>
26#include <sys/stat.h> 24#include <sys/stat.h>
27#include <sys/param.h> 25#include <sys/param.h>
@@ -4536,7 +4534,7 @@ report_overlay_modification (Lisp_Object start, Lisp_Object end, bool after,
4536 Lisp_Object *copy = alloca (size * sizeof *copy); 4534 Lisp_Object *copy = alloca (size * sizeof *copy);
4537 ptrdiff_t i; 4535 ptrdiff_t i;
4538 4536
4539 memcpy (copy, XVECTOR (last_overlay_modification_hooks)->contents, 4537 memcpy (copy, XVECTOR (last_overlay_modification_hooks)->u.contents,
4540 size * word_size); 4538 size * word_size);
4541 gcpro1.var = copy; 4539 gcpro1.var = copy;
4542 gcpro1.nvars = size; 4540 gcpro1.nvars = size;
@@ -5900,7 +5898,7 @@ See also the functions `display-table-slot' and `set-display-table-slot'. */);
5900 5898
5901 DEFVAR_PER_BUFFER ("left-margin-width", &BVAR (current_buffer, left_margin_cols), 5899 DEFVAR_PER_BUFFER ("left-margin-width", &BVAR (current_buffer, left_margin_cols),
5902 Qintegerp, 5900 Qintegerp,
5903 doc: /* Width of left marginal area for display of a buffer. 5901 doc: /* Width in columns of left marginal area for display of a buffer.
5904A value of nil means no marginal area. 5902A value of nil means no marginal area.
5905 5903
5906Setting this variable does not take effect until a new buffer is displayed 5904Setting this variable does not take effect until a new buffer is displayed
@@ -5908,7 +5906,7 @@ in a window. To make the change take effect, call `set-window-buffer'. */);
5908 5906
5909 DEFVAR_PER_BUFFER ("right-margin-width", &BVAR (current_buffer, right_margin_cols), 5907 DEFVAR_PER_BUFFER ("right-margin-width", &BVAR (current_buffer, right_margin_cols),
5910 Qintegerp, 5908 Qintegerp,
5911 doc: /* Width of right marginal area for display of a buffer. 5909 doc: /* Width in columns of right marginal area for display of a buffer.
5912A value of nil means no marginal area. 5910A value of nil means no marginal area.
5913 5911
5914Setting this variable does not take effect until a new buffer is displayed 5912Setting this variable does not take effect until a new buffer is displayed