aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h26
1 files changed, 6 insertions, 20 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 3a4dd106360..31f96040b2d 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1,6 +1,6 @@
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-1995, 1997-2011
4 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
@@ -226,10 +226,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
226 (temp_set_point ((buffer), (position))) 226 (temp_set_point ((buffer), (position)))
227 227
228extern void set_point (EMACS_INT); 228extern void set_point (EMACS_INT);
229extern INLINE void temp_set_point (struct buffer *, EMACS_INT); 229extern void temp_set_point (struct buffer *, EMACS_INT);
230extern void set_point_both (EMACS_INT, EMACS_INT); 230extern void set_point_both (EMACS_INT, EMACS_INT);
231extern INLINE void temp_set_point_both (struct buffer *, 231extern void temp_set_point_both (struct buffer *,
232 EMACS_INT, EMACS_INT); 232 EMACS_INT, EMACS_INT);
233extern void enlarge_buffer_text (struct buffer *, EMACS_INT); 233extern void enlarge_buffer_text (struct buffer *, EMACS_INT);
234 234
235 235
@@ -459,7 +459,7 @@ struct buffer_text
459 struct Lisp_Marker *markers; 459 struct Lisp_Marker *markers;
460 460
461 /* Usually 0. Temporarily set to 1 in decode_coding_gap to 461 /* Usually 0. Temporarily set to 1 in decode_coding_gap to
462 prevent Fgarbage_collect from shrinking the gap and loosing 462 prevent Fgarbage_collect from shrinking the gap and losing
463 not-yet-decoded bytes. */ 463 not-yet-decoded bytes. */
464 int inhibit_shrinking; 464 int inhibit_shrinking;
465 }; 465 };
@@ -894,28 +894,16 @@ extern void mmap_set_vars (int);
894 } \ 894 } \
895 } while (0) 895 } while (0)
896 896
897EXFUN (Fbuffer_list, 1);
898EXFUN (Fbuffer_live_p, 1); 897EXFUN (Fbuffer_live_p, 1);
899EXFUN (Fbuffer_name, 1); 898EXFUN (Fbuffer_name, 1);
900EXFUN (Fget_file_buffer, 1);
901EXFUN (Fnext_overlay_change, 1); 899EXFUN (Fnext_overlay_change, 1);
902EXFUN (Fdelete_overlay, 1); 900EXFUN (Fdelete_overlay, 1);
903EXFUN (Fbuffer_local_value, 2); 901EXFUN (Fbuffer_local_value, 2);
904EXFUN (Fgenerate_new_buffer_name, 2);
905 902
906/* Functions to call before and after each text change. */
907extern Lisp_Object Vbefore_change_functions;
908extern Lisp_Object Vafter_change_functions;
909extern Lisp_Object Vfirst_change_hook;
910extern Lisp_Object Qbefore_change_functions; 903extern Lisp_Object Qbefore_change_functions;
911extern Lisp_Object Qafter_change_functions; 904extern Lisp_Object Qafter_change_functions;
912extern Lisp_Object Qfirst_change_hook; 905extern Lisp_Object Qfirst_change_hook;
913 906
914/* If nonzero, all modification hooks are suppressed. */
915extern int inhibit_modification_hooks;
916
917extern Lisp_Object Vdeactivate_mark;
918extern Lisp_Object Vtransient_mark_mode;
919 907
920/* Overlays */ 908/* Overlays */
921 909
@@ -1019,5 +1007,3 @@ extern int last_per_buffer_idx;
1019#define PER_BUFFER_VALUE(BUFFER, OFFSET) \ 1007#define PER_BUFFER_VALUE(BUFFER, OFFSET) \
1020 (*(Lisp_Object *)((OFFSET) + (char *) (BUFFER))) 1008 (*(Lisp_Object *)((OFFSET) + (char *) (BUFFER)))
1021 1009
1022/* arch-tag: 679305dd-d41c-4a50-b170-3caf5c97b2d1
1023 (do not change this comment) */