1. 08 May, 2019 4 commits
  2. 07 May, 2019 8 commits
    • Juri Linkov's avatar
      * lisp/progmodes/flymake.el: Obsolete variable flymake-start-on-newline · 4cb64ac3
      Juri Linkov authored
      (flymake-start-syntax-check-on-newline): Mark it obsolete.
      (flymake-after-change-function): Remove obsolete variable
      flymake-start-syntax-check-on-newline (temporarily renamed to
      flymake-start-on-newline).  (Bug#34294)
      
      * doc/misc/flymake.texi: Remove obsolete variable.
      4cb64ac3
    • Paul Eggert's avatar
      Pacify GCC 9.1 · 504f8e55
      Paul Eggert authored
      * src/intervals.c (set_intervals_multibyte_1): Omit unused temps.
      * src/xdisp.c (display_mode_element): Use !NILP instead of
      STRINGP.  This convinces GCC we’re not dereferencing a
      possibly-null pointer, and should be a bit faster anyway.
      504f8e55
    • John Shahid's avatar
      Fix setting and resetting of scroll-with-delete · e44b56d1
      John Shahid authored
      The start and end lines of the scroll region must to be in the range
      [0,term-height).  There are few placees that incorrectly set the end
      line of the scroll region to term-height which is outside the valid
      range.  Combined with another off-by-one error in
      term-set-scroll-region's clamping logic, this would cause
      term-scroll-with-delete to be unnecessarily turned on.
      
      * lisp/term.el (term-scroll-start,term-scroll-end): Use defvar-local
      to define the variables and document the valid range of values that
      the variables can take.
      (term--last-line): New function to calculate the 0-based index of the
      last line.
      (term--reset-scroll-region): New function to reset the scroll region
      to the full height of the terminal.
      (term-mode,term-reset-size,term-reset-terminal): Call
      term--reset-scroll-region to reset the scroll region.
      (term-set-scroll-region): Fix the off-by-one error in the clamping
      logic which allowed term-scroll-end to have values outside the valid
      range [0,term-height).
      e44b56d1
    • Stefan Monnier's avatar
      * src/marker.c (buf_bytepos_to_charpos): Re-add the CHAR_HEAD_P assertion · 32cf0781
      Stefan Monnier authored
      This assertion was removed in 1c349c62
      because the assumption was invalid during set_intervals_multibyte_1.
      So we change set_intervals_multibyte_1 to solve the problem in the same
      way as in the rest of Fset_buffer_multibyte, which actually simplifies
      the code.
      
      * src/buffer.c (advance_to_char_boundary): Not static any more.
      * src/buffer.h (advance_to_char_boundary): Add prototype.
      * src/intervals.c (set_intervals_multibyte_1): Use it.
      32cf0781
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Basil L. Contovounesios's avatar
      Clarify what constitutes an event (bug#35238) · c972da90
      Basil L. Contovounesios authored
      * doc/lispref/commands.texi (Input Events): Specify that events are
      non-nil and remove vestiges of bug#10190.
      * doc/lispref/os.texi (Recording Input): Document optional argument
      of recent-keys.
      * lisp/subr.el (eventp): Check that the car of conses is non-nil.
      * etc/NEWS: Announce it as an incompatible change.
      * src/keyboard.c (Frecent_keys): Clarify that returned "events" are
      not real events.
      c972da90
    • Eli Zaretskii's avatar
      Fix 'load-average' on MS-Windows · e10d08df
      Eli Zaretskii authored
      * src/w32.c (getloadavg): Always return at least one element
      of the array.
      e10d08df
  3. 06 May, 2019 10 commits
  4. 05 May, 2019 18 commits