aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorStefan Monnier2010-12-10 19:13:08 -0500
committerStefan Monnier2010-12-10 19:13:08 -0500
commit2c302df3a13236bfbf8ea1b771d13618fcda8d71 (patch)
treef26dc9f22861dc37610de319d05255de058c221b /src/buffer.h
parent0c747cb143fa227e78f350ac353d703f489209df (diff)
parent175069efeb080517afefdd44a06f7a779ea8c25c (diff)
downloademacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.tar.gz
emacs-2c302df3a13236bfbf8ea1b771d13618fcda8d71.zip
Merge from trunk
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 3a4dd106360..79acd16b6fd 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1,7 +1,8 @@
1/* Header file for the buffer manipulation primitives. 1/* Header file for the buffer manipulation primitives.
2 Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2
3 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 3Copyright (C) 1985, 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000,
4 Free Software Foundation, Inc. 4 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
5 Free Software Foundation, Inc.
5 6
6This file is part of GNU Emacs. 7This file is part of GNU Emacs.
7 8
@@ -226,10 +227,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
226 (temp_set_point ((buffer), (position))) 227 (temp_set_point ((buffer), (position)))
227 228
228extern void set_point (EMACS_INT); 229extern void set_point (EMACS_INT);
229extern INLINE void temp_set_point (struct buffer *, EMACS_INT); 230extern void temp_set_point (struct buffer *, EMACS_INT);
230extern void set_point_both (EMACS_INT, EMACS_INT); 231extern void set_point_both (EMACS_INT, EMACS_INT);
231extern INLINE void temp_set_point_both (struct buffer *, 232extern void temp_set_point_both (struct buffer *,
232 EMACS_INT, EMACS_INT); 233 EMACS_INT, EMACS_INT);
233extern void enlarge_buffer_text (struct buffer *, EMACS_INT); 234extern void enlarge_buffer_text (struct buffer *, EMACS_INT);
234 235
235 236
@@ -459,7 +460,7 @@ struct buffer_text
459 struct Lisp_Marker *markers; 460 struct Lisp_Marker *markers;
460 461
461 /* Usually 0. Temporarily set to 1 in decode_coding_gap to 462 /* Usually 0. Temporarily set to 1 in decode_coding_gap to
462 prevent Fgarbage_collect from shrinking the gap and loosing 463 prevent Fgarbage_collect from shrinking the gap and losing
463 not-yet-decoded bytes. */ 464 not-yet-decoded bytes. */
464 int inhibit_shrinking; 465 int inhibit_shrinking;
465 }; 466 };
@@ -1019,5 +1020,3 @@ extern int last_per_buffer_idx;
1019#define PER_BUFFER_VALUE(BUFFER, OFFSET) \ 1020#define PER_BUFFER_VALUE(BUFFER, OFFSET) \
1020 (*(Lisp_Object *)((OFFSET) + (char *) (BUFFER))) 1021 (*(Lisp_Object *)((OFFSET) + (char *) (BUFFER)))
1021 1022
1022/* arch-tag: 679305dd-d41c-4a50-b170-3caf5c97b2d1
1023 (do not change this comment) */