1. 30 Jun, 2018 5 commits
  2. 29 Jun, 2018 2 commits
    • Paul Eggert's avatar
    • Eli Zaretskii's avatar
      Speed up replace-buffer-contents · eec71ebd
      Eli Zaretskii authored
      * src/editfns.c (EXTRA_CONTEXT_FIELDS): Add a_unibyte and
      b_unibyte members.
      (rbc_quitcounter): New static variable.
      (Freplace_buffer_contents): Initialize a_unibyte, b_unibyte, and
      rbc_quitcounter.  Inhibit modification hooks if they were not
      already inhibited.  Use rarely_quit to allow user to quit, to
      avoid calling maybe_quit too frequently (which hurts performance).
      Remove redundant assertions (which hurt performance too much).
      Call signal_after_change and update_compositions after all the
      changes are done.
      (buffer_chars_equal): Remove redundant assertions (which hurt
      performance).  Avoid using BUF_FETCH_CHAR_AS_MULTIBYTE, which
      hurts performance by referencing Lisp symbols; instead, use
      lower-level macros with explicit tests to select which macro to
      use.  (Bug#31888)
  3. 28 Jun, 2018 3 commits
  4. 27 Jun, 2018 3 commits
  5. 26 Jun, 2018 2 commits
    • Noam Postavsky's avatar
      Detect a non-list package archive content properly (Bug#22311) · 6f6d5256
      Noam Postavsky authored
      * lisp/emacs-lisp/package.el (package--download-one-archive): Use
      `read' instead of `read-from-string'; the latter always returns a
      cons, so the `listp' check on its return value doesn't make sense.  It
      was changed from `read' to `read-from-string' in 2015-04-01 "*
      emacs-lisp/package.el: Implement asynchronous refreshing", but that
      change was not needed because `read' works fine on strings as well as
    • Christophe Junke's avatar
      Add ido-fallback special variable (Bug#31707) · 12c77f69
      Christophe Junke authored
      Before ido.el switch to lexical-binding, it was possible for other
      packages to modify the 'fallback' variables declared inside
      'ido-file-internal' and 'ido-buffer-internal'.
      * lisp/ido.el (ido-fallback): New variable.
      (ido-buffer-internal, ido-file-internal): Reset ido-fallback to nil
      before prompting user.  Use ido-fallback when ido-exit is 'fallback'.
      (ido-fallback-command): Add optional FALLBACK-COMMAND argument.
      Copyright-paperwork-exempt: yes
  6. 25 Jun, 2018 5 commits
  7. 24 Jun, 2018 5 commits
  8. 23 Jun, 2018 6 commits
  9. 22 Jun, 2018 6 commits
  10. 20 Jun, 2018 3 commits
    • Noam Postavsky's avatar
      Change index of ";" to better reflect it's usage (Bug#31623) · 40e1db8c
      Noam Postavsky authored
      * doc/lispref/objects.texi (Comments): "; for commenting" fits better
      with the following text about how a semicolon begins a comment.  Also
      mention that only unescaped semicolons start a comment.
    • Tak Kunihiro's avatar
      Fix bug of 'mouse-drag-and-drop-region' to detect edges of region (Bug#31905) · d289e7e3
      Tak Kunihiro authored
      * lisp/mouse.el (mouse-drag-and-drop-region): Detect both the
      beginning and the end of character of region during dragging
    • Noam Postavsky's avatar
      Fix #'fun handling inside `labels' (Bug#31792) · e292c097
      Noam Postavsky authored
      * lisp/emacs-lisp/cl.el (labels): Apply the equivalent of the
      cl-labels change from 2015-01-16 "* lisp/emacs-lisp/cl-macs.el: Fix
      last change".
      * test/lisp/emacs-lisp/cl-tests.el (labels-function-quoting): New
      * lisp/emacs-lisp/cl-macs.el (cl-flet, cl-labels): Improve docstring,
      link to relevant manual page.
      * doc/misc/cl.texi (Function Bindings): Don't imply that function
      cells of symbols are modified by cl-flet.  Don't claim that cl-flet or
      cl-labels affect references of the form (quote FUNC).