1. 03 Apr, 2000 3 commits
  2. 02 Apr, 2000 5 commits
    • Stefan Monnier's avatar
      * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. · 2d1675e4
      Stefan Monnier authored
      (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
      (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
      we are between str1 and str2.
      (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
      (PATFETCH): Use `TRANSLATE'.
      (PATFETCH_RAW): Fetch multibyte char if applicable.
      (PATUNFETCH): Remove.
      (regex_compile): Rely on PATFETCH to do most of the multibyte magic.
      When writing a char, write it directly into the pattern buffer rather
      than going needlessly through a temp char-array.
      (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
      multibyte magic and remove the useless `#ifdef emacs'.
      (bcmp_translate): Don't compare as multibyte chars when in a unibyte
      buffer.
      * regex.h (struct re_pattern_buffer): Make field `multibyte'
      conditional on `emacs'.
      * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
      2d1675e4
    • Ken Raeburn's avatar
      * composite.c (run_composite_function): Use NILP when checking for nil. · 09654086
      Ken Raeburn authored
      (syms_of_composite): Delete local var NARGS, pass an int as first argument to
      Fmake_hash_table.
      09654086
    • Ken Raeburn's avatar
      fix error in last log message · 2387b382
      Ken Raeburn authored
      2387b382
    • Ken Raeburn's avatar
      * editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test · c01fbf95
      Ken Raeburn authored
      Lisp_Object boolean value.
      (Fformat): Use a temporary variable to avoid ENABLE_CHECKING problems reading
      from and changing the same lisp value in an XSETSTRING call.
      c01fbf95
    • Ken Raeburn's avatar
      * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type · cc2d8c6b
      Ken Raeburn authored
      versions of XMARK and friends here, because XMARK and friends won't work on an
      integer field if NO_UNION_TYPE is not defined.
      (make_number): Define as a function if it's not defined as a macro.
      cc2d8c6b
  3. 01 Apr, 2000 15 commits
  4. 31 Mar, 2000 17 commits