1. 01 Aug, 2016 1 commit
  2. 23 Jul, 2016 1 commit
    • Noam Postavsky's avatar
      Adjust match data before calling after-change-funs · 66f95e0d
      Noam Postavsky authored
      It's important to adjust the match data in between calling
      before-change-functions and after-change-functions, so that buffer
      change hooks will always see match-data consistent with buffer content.
      (Bug #23917)
      
      * src/insdel.c (replace_range): Add new parameter ADJUST_MATCH_DATA, if
      true call update_search_regs.  Update all callers (except
      Freplace_match) to pass 0 for the new parameter.
      * src/search.c (update_search_regs): New function, extracted from
      Freplace_match.
      (Freplace_match): Remove match data adjustment code, pass 1 for
      ADJUST_MATCH_DATA to replace_range instead.
      66f95e0d
  3. 21 Jul, 2016 1 commit
  4. 17 Jul, 2016 1 commit
    • Robert Cochran's avatar
      Expand FIXME near definition of fboundp · 9356fe23
      Robert Cochran authored
      This expansion of the FIXME is so that future developers are aware of
      the potential problems of aliasing fboundp to symbol-function without
      taking backwards compatibility into account.
      
      * src/data.c (fboundp): Note potential backwards compatibility issues in
      FIXME.
      
      Copyright-paperwork-exempt: yes
      9356fe23
  5. 16 Jul, 2016 1 commit
  6. 15 Jul, 2016 2 commits
  7. 12 Jul, 2016 1 commit
    • Stephen Berman's avatar
      Improve documentation of search functions · 069fc05b
      Stephen Berman authored
      Make the documentation of the search functions more accurate,
      complete, and uniform; in particular, extend the description of
      the effect when the 'count' parameter is a negative number to all
      of these functions.
      
      * src/search.c (Fsearch_backward, Fsearch_forward)
      (Fre_search_backward, Fre_search_forward)
      (Fposix_search_backward, Fposix_search_forward):
      * lisp/isearch.el (word-search-backward, word-search-forward)
      (word-search-backward-lax, word-search-forward-lax): Improve doc
      strings as described above.
      
      * doc/lispref/searching.texi (String Search, Regexp Search)
      (POSIX Regexps): Use 'count' instead of 'repeat' as the name of
      the fourth parameter of the *-search-{forward,backward} functions
      and improve documentation as described above.
      069fc05b
  8. 10 Jul, 2016 2 commits
  9. 08 Jul, 2016 1 commit
  10. 06 Jul, 2016 1 commit
    • Phillip Lord's avatar
      Fix missing undo-boundary on revert-buffer. · 8f9c1eda
      Phillip Lord authored
      * lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
      * src/fileio.c (insert-buffer-contents): Call
        undo-auto--undoably-changed-buffers before changes.
      
      Addresses Bug#23785.
      
      Do not merge to master as c98bc982 also addresses the same bug.
      8f9c1eda
  11. 05 Jul, 2016 2 commits
    • Paul Eggert's avatar
      Fix open-network-stream responsiveness · a5dcc97b
      Paul Eggert authored
      Problem reported by Christer Ekholm (Bug#23864).
      Backport from master.
      * src/process.c (wait_reading_process_output):
      Fix typo introduced in 2015-07-06T02:19:13Z!eggert@cs.ucla.edu
      when wait == INFINITY and got_output_end_time is invalid.
      In this case the code should break, not continue.
      a5dcc97b
    • Phillip Lord's avatar
      Fix missing point information in undo · d4c6774f
      Phillip Lord authored
      * src/undo.c (record_insert): Use record_point instead of
        prepare_record, and do so unconditionally.
        (prepare_record): Do not record first change.
        (record_point): Now conditional on state before the last command.
        (record_delete): Call record_point unconditionally.
        (record_property_change): Use prepare_record.
        (record_marker_adjustments): Use prepare_record.
      
      Addresses Bug# 21722
      d4c6774f
  12. 04 Jul, 2016 1 commit
  13. 29 Jun, 2016 1 commit
  14. 27 Jun, 2016 3 commits
  15. 23 Jun, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix documentation of 'assoc-string' and 'compare-strings' · 4395aaac
      Eli Zaretskii authored
      * src/minibuf.c (Fassoc_string): Clarify how CASE-FOLD affects the
      string comparison.  (Bug#23833)
      * src/fns.c (Fcompare_strings): Fix the description of how
      IGNORE-CASE affects the comparison.
      
      * doc/lispref/strings.texi (Text Comparison): Clarify how
      CASE-FOLD affects the string comparison in 'assoc-string'.  Fix
      the description of how IGNORE-CASE affects the comparison in
      'compare-strings'.
      4395aaac
  16. 22 Jun, 2016 1 commit
  17. 21 Jun, 2016 1 commit
  18. 20 Jun, 2016 1 commit
  19. 17 Jun, 2016 1 commit
    • Noam Postavsky's avatar
      Fbackward_prefix_chars: stay within buffer bounds · b49cb0ab
      Noam Postavsky authored
      The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while
      scanning" (1998-03-18), moved the check against of the position against the
      buffer beginning out the loop condition so that we might end up checking
      the syntax of characters before the beginning of the buffer.  This can
      cause segfaults or trigger a "Point before start of properties" error in
      `update_interval' (called indirectly from `char_quoted').
      
      * src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of
      buffer is reached (Bug #3552, Bug #17132, Bug #19379).
      b49cb0ab
  20. 16 Jun, 2016 1 commit
  21. 14 Jun, 2016 1 commit
  22. 13 Jun, 2016 1 commit
    • Stephen Berman's avatar
      Doc fixes for grammar and typos (bug#23746) · 20de6679
      Stephen Berman authored
      * doc/emacs/files.texi (Customize Save):
      * doc/emacs/frames.texi (Window Dividers):
      * doc/emacs/misc.texi (Printing):
      * doc/lispref/compile.texi (Compiler Errors):
      * doc/lispref/keymaps.texi (Changing Key Bindings):
      * doc/lispref/loading.texi (Named Features):
      * doc/lispref/markers.texi (Marker Insertion Types):
      * doc/lispref/modes.texi (Mode Hooks):
      * doc/lispref/text.texi (Undo):
      * src/floatfns.c (Fldexp):
      * src/xfaces.c (syms_of_xfaces):
      Minor doc fixes for grammar and typos (bug#23746).
      20de6679
  23. 11 Jun, 2016 1 commit
    • Ken Brown's avatar
      Fix dbus crash on 32-bit Cygwin · 6921f4a5
      Ken Brown authored
      * src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
      connection address.  (Bug#23741)
      (xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
      address.
      6921f4a5
  24. 08 Jun, 2016 1 commit
  25. 07 Jun, 2016 2 commits
  26. 06 Jun, 2016 1 commit
    • Stephen Berman's avatar
      Fix doc string quoting · 9d5ccebe
      Stephen Berman authored
      * lisp/files.el (shell-quote-wildcard-pattern):
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/subr.el (replace-regexp-in-string):
      * lisp/view.el (view-mode):
      * src/nsfns.m (syms_of_nsfns):
      * src/syntax.c (Fbackward_prefix_chars):
      Fix quoting problems in doc strings (Bug#23696).
      9d5ccebe
  27. 27 May, 2016 1 commit
  28. 24 May, 2016 1 commit
  29. 22 May, 2016 1 commit
  30. 16 May, 2016 2 commits
  31. 09 May, 2016 1 commit
  32. 07 May, 2016 1 commit
  33. 05 May, 2016 1 commit
    • Paul Eggert's avatar
      Doc fixes for fclist and grep · 50650cb6
      Paul Eggert authored
      A newline is needed between two fc-list calls.
      egrep and fgrep have been withdrawn from POSIX,
      so document grep -E and grep -F instead.
      50650cb6