1. 13 Jan, 2008 1 commit
  2. 08 Jan, 2008 1 commit
  3. 22 Nov, 2007 1 commit
  4. 21 Nov, 2007 1 commit
    • Stefan Monnier's avatar
      * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field. · 64e16c3c
      Stefan Monnier authored
      * data.c (store_symval_forwarding): Get type from buffer_objfwd.
      Update call to buffer_slot_type_mismatch.
      * buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove.
      (buffer_slot_type_mismatch): Update.
      * buffer.c (buffer_local_types): Remove.
      (buffer_slot_type_mismatch): Get the symbol and type as arguments.
      (defvar_per_buffer): Set the type in the buffer_objfwd.
      64e16c3c
  5. 16 Nov, 2007 2 commits
  6. 29 Oct, 2007 1 commit
  7. 23 Oct, 2007 1 commit
  8. 17 Oct, 2007 1 commit
  9. 16 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. · 67ee9f6e
      Stefan Monnier authored
      (XMISCANY): New macro.
      (XMISCTYPE): Use it.
      (struct Lisp_Misc_Any): New type.
      (union Lisp_Misc): Use it.
      (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit.
      * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding)
      (find_symbol_value, set_internal, default_value, Fset_default)
      (Fmake_variable_buffer_local, Fmake_local_variable)
      (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p)
      (Flocal_variable_if_set_p, Fvariable_binding_locus):
      The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set.
      * alloc.c (allocate_buffer): Set the size and tag.
      (allocate_misc, mark_maybe_object, mark_object, survives_gc_p):
      Use XMISCANY.
      (die): Follow the GNU convention for error messages.
      * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set.
      * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the
      tag any more.
      (set_buffer_internal_1):
      * frame.c (store_frame_param):
      * eval.c (specbind):
      * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.
      67ee9f6e
  10. 13 Oct, 2007 1 commit
  11. 10 Oct, 2007 1 commit
  12. 09 Oct, 2007 1 commit
  13. 02 Oct, 2007 4 commits
    • Stefan Monnier's avatar
      * window.h (struct window): · d0fdb6da
      Stefan Monnier authored
      * window.c (struct save_window_data, struct saved_window):
      * termhooks.h (struct terminal):
      * process.h (struct Lisp_Process):
      * frame.h (struct frame):
      * buffer.h (struct buffer):
      * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table)
      (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table):
      The size field of (pseudo)vectors is now unsigned.
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly.
      d0fdb6da
    • Stefan Monnier's avatar
      * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. · 878f97ff
      Stefan Monnier authored
      Turn `count' into an integer.
      * fns.c (make_hash_table, hash_put, hash_remove, hash_clear)
      (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count):
      * print.c (print_object) <HASH_TABLE_P>: `count' is an int.
      * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR.
      (mark_object) <HASH_TABLE_P>: Use mark_vectorlike.
      878f97ff
    • Stefan Monnier's avatar
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't allow definition in m/*.h files. · 539b8c1c
      Stefan Monnier authored
      (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking.
      (XSETPVECTYPE): New macro.
      (XSETPSEUDOVECTOR): Use it.
      539b8c1c
    • Stefan Monnier's avatar
      * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. · d6aa1876
      Stefan Monnier authored
      (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c.
      * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER):
      * lread.c (defvar_per_buffer):
      * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c.
      d6aa1876
  14. 29 Sep, 2007 1 commit
  15. 23 Sep, 2007 1 commit
  16. 21 Sep, 2007 1 commit
  17. 20 Sep, 2007 1 commit
  18. 10 Sep, 2007 1 commit
  19. 29 Aug, 2007 1 commit
  20. 28 Aug, 2007 1 commit
  21. 22 Aug, 2007 1 commit
  22. 08 Aug, 2007 1 commit
  23. 25 Jul, 2007 1 commit
  24. 11 Jul, 2007 1 commit
  25. 10 Jul, 2007 1 commit
  26. 08 Jun, 2007 1 commit
  27. 20 May, 2007 1 commit
  28. 29 Apr, 2007 1 commit
  29. 17 Mar, 2007 1 commit
  30. 21 Jan, 2007 1 commit
  31. 03 Oct, 2006 1 commit
  32. 05 Sep, 2006 1 commit
  33. 01 Sep, 2006 1 commit
    • Chong Yidong's avatar
      * buffer.h (struct buffer_text): New field chars_modiff. · 3e145152
      Chong Yidong authored
              (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
              * buffer.c (Fbuffer_chars_modified_tick): New function returning
              value of BUF_CHARS_MODIFF.
              (syms_of_buffer): Defsubr it.
              (Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
              * insdel.c (modify_region): New argument preserve_chars_modiff.
              Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
              (insert_1_both, insert_from_string_1, insert_from_buffer_1)
              (adjust_after_replace, adjust_after_replace_noundo)
              (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
              * lisp.h (modify_region): Add fourth argument in extern.
              * casefiddle.c (casify_region): Call modify_region with fourth
              argument zero to assert that CHARS_MODIFF is updated.
              * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
              (Ftranspose_regions): Likewise.
              * textprop.c (Fadd_text_properties, Fset_text_properties)
              (Fremove_text_properties, Fremove_list_of_text_properties):
              Call modify_region with fourth argument 1 to avoid that
              CHARS_MODIFF is updated.
      3e145152
  34. 26 Jul, 2006 1 commit
  35. 18 Jul, 2006 2 commits
    • Dan Nicolaescu's avatar
      * ebrowse.c (usage, version): Mark as NO_RETURN. · 2381d38d
      Dan Nicolaescu authored
      * emacsclient.c (print_help_and_exit): Likewise.
      
      * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
      
      * textprop.c (text_read_only): Likewise.
      
      * lread.c (end_of_file_error): Likewise.
      
      * lisp.h (circular_list_error, memory_full, buffer_memory_full):
      Likewise.
      
      * eval.c (unwind_to_catch): Likewise.
      
      * buffer.h (buffer_slot_type_mismatch): Likewise.
      2381d38d
    • Kim F. Storm's avatar
      (list1): Add EXFUN. · 7e85c1aa
      Kim F. Storm authored
      (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error):
      Add prototypes.  Mark them as no-return.
      7e85c1aa