1. 17 Oct, 2007 31 commits
  2. 16 Oct, 2007 9 commits
    • Miles Bader's avatar
      Merge from emacs--rel--22 · 81d3d428
      Miles Bader authored
      Revision: emacs@sv.gnu.org/emacs--devo--0--patch-892
      81d3d428
    • Stefan Monnier's avatar
      * xfns.c (Fx_create_frame, Fx_display_list): · 9beb8baa
      Stefan Monnier authored
      * window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first):
      * macterm.c (init_font_name_table):
      * macfns.c (Fx_create_frame, Fx_display_list):
      * lread.c (close_load_descs):
      * keyboard.c (read_char_x_menu_prompt):
      * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
      * coding.c (code_convert_region_unwind): Test the type of an object
      rather than just !NILP before extracting data from it.
      9beb8baa
    • Stefan Monnier's avatar
      d3f41ff5
    • 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
    • Stefan Monnier's avatar
      (reindent-then-newline-and-indent): Don't assume that · 4144e15e
      Stefan Monnier authored
      indent-according-to-mode preserves point.
      4144e15e
    • Juanma Barranquero's avatar
      *** empty log message *** · c2c0d96f
      Juanma Barranquero authored
      c2c0d96f
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
      (bs--window-config-coming-from): Revert 2006-11-09 change. · e7a4eaad
      Juanma Barranquero authored
      (bs--restore-window-config): Keep the selected frame.
      (bs--track-window-changes, bs--remove-hooks): New functions.
      (bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
      (bs--show-with-configuration): Revert 2006-11-09 change.
      Don't reuse window unless it is visible on the selected frame.
      Restore window configuration (possibly in a different frame)
      before creating any window.
      e7a4eaad
    • Juanma Barranquero's avatar
      (bs--make-header-match-string, bs-show-in-buffer, bs--nth-wrapper): Simplify. · e749f576
      Juanma Barranquero authored
      (bs-select, bs--insert-one-entry): Simplify.  Use `when'.
      (bs-buffer-list): Simplify.  Use `when'.  Use `string-match-p'.
      (bs-sort-buffer-interns-are-last): Use `string-match-p'.
      (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp,
      bs-maximal-buffer-name-column, bs-minimal-buffer-name-column, bs-configurations,
      bs-default-configuration, bs-alternative-configuration,
      bs-cycle-configuration-name, bs-string-show-always, bs-string-show-never,
      bs-string-current, bs-string-current-marked, bs-string-marked,
      bs-string-show-normally, bs-sort-functions, bs-default-sort-name):
      Remove * in docstrings.
      (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete,
      bs-apply-sort-faces, bs-next-config-aux): Use `when'.
      (bs--window-config-coming-from): Revert 2006-11-09 change.
      (bs--restore-window-config): Keep the selected frame.
      (bs--track-window-changes, bs--remove-hooks): New functions.
      (bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
      (bs--create-header): Remove.
      (bs--create-header-line): New function, based on `bs--create-header'.
      (bs--show-header): Use `bs--create-header-line'.
      (bs--show-with-configuration): Revert 2006-11-09 change.
      Don't reuse window unless it is visible on the selected frame.
      Restore window configuration (possibly in a different frame)
      before creating any window.
      e749f576