1. 24 Jun, 2018 1 commit
    • Michael Albinus's avatar
      Fix Bug#31941 · 1d770788
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): In case of
      FILENAME being a directory, check whether `copy-directory' could
      be avoided.  Suggested by Stephen Nutt <stnutt@gmail.com>.  (Bug#31941)
      (tramp-do-copy-or-rename-file-directly): Call "cp" with "-r".
      1d770788
  2. 23 Jun, 2018 6 commits
  3. 22 Jun, 2018 6 commits
  4. 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.
      40e1db8c
    • 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
      text.
      d289e7e3
    • 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
      test.
      * 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).
      e292c097
  5. 18 Jun, 2018 2 commits
  6. 17 Jun, 2018 5 commits
  7. 16 Jun, 2018 3 commits
    • Paul Eggert's avatar
      Fix byte compilation of (eq foo 'default) · e1284341
      Paul Eggert authored
      Backport from master.
      Do not use the symbol ‘default’ as a special marker.
      Instead, use a value that cannot appear in the program,
      improving on a patch proposed by Robert Cochran (Bug#31718#14).
      * lisp/emacs-lisp/bytecomp.el (byte-compile--default-val):
      New constant.
      (byte-compile-cond-jump-table-info)
      (byte-compile-cond-jump-table): Use it instead of 'default.
      * test/lisp/emacs-lisp/bytecomp-tests.el:
      (byte-opt-testsuite-arith-data): Add a test for the bug.
      e1284341
    • Michael Albinus's avatar
      Fix Bug#31846. Do not merge with master · 4753d793
      Michael Albinus authored
      * lisp/net/secrets.el (secrets-search-items)
      (secrets-create-item): Fix format of :dict-entry values.  (Bug#31846)
      4753d793
    • Eli Zaretskii's avatar
      Fix documentation of ':propertize' in mode-line-format · 63ba73a9
      Eli Zaretskii authored
      * doc/lispref/modes.texi (Mode Line Data): Make the description of
      ':propertize' more accurate.  (Bug#26291)
      63ba73a9
  8. 15 Jun, 2018 5 commits
    • Eli Zaretskii's avatar
      Reject invalid 5-byte sequences when detecting UTF-8 encoding · 22aa665c
      Eli Zaretskii authored
      * src/coding.c (detect_coding_utf_8): Reject multibyte sequences
      whose leading byte is greater than MAX_MULTIBYTE_LEADING_CODE.
      (Bug#31829)
      * src/character.h (MAX_MULTIBYTE_LEADING_CODE): Add commentary
      about the connection between the value of this macro and MAX_CHAR.
      22aa665c
    • Eli Zaretskii's avatar
      Fix 'replace-buffer-contents' in multibyte buffers · 0d3c3580
      Eli Zaretskii authored
      * src/editfns.c (buffer_chars_equal): Pass a byte position to
      BUF_FETCH_CHAR_AS_MULTIBYTE, not a character position.
      (Bug#31837)
      
      * test/src/editfns-tests.el (replace-buffer-contents-bug31837):
      New test.
      0d3c3580
    • Robert Pluim's avatar
      Update etc/NEWS for mail-source-movemail-program change · c79a6275
      Robert Pluim authored
      * etc/NEWS: Describe change in how we search for
      mail-source-movemail-program.
      c79a6275
    • Robert Pluim's avatar
      Improve movemail default · 63f1dc4f
      Robert Pluim authored
      * lisp/gnus/mail-source.el (mail-source-movemail-program):
      Change default to "movemail".
      (mail-source-movemail): Pass just mail-source-movemail-program to
      call-process instead of fully specifying it relative to
      exec-directory.  Ensures that we will find Mailutils movemail if
      it is installed.  (Bug#31737)
      63f1dc4f
    • Eli Zaretskii's avatar
      Delete description of deleted Customize functions · 0b1a2ae8
      Eli Zaretskii authored
      * doc/lispref/customize.texi (Variable Definitions): Remove the
      description of 'custom-initialize-safe-set' and
      'custom-initialize-safe-default', which were deleted in Emacs
      23.2, and replace with the description of
      'custom-initialize-delay'.
      0b1a2ae8
  9. 14 Jun, 2018 3 commits
  10. 13 Jun, 2018 3 commits
  11. 12 Jun, 2018 3 commits
    • Sam Steingold's avatar
      Finish the Bug#11728 work: hg & git · 6d4cbe80
      Sam Steingold authored
      * lisp/vc/vc-git.el (vc-git--pushpull): Make `extra-args' a list.
      Do not set `compilation-error-regexp-alist', this is done in
      `vc-compilation-mode'.
      (vc-git-error-regexp-alist): Tweak the regexp.
      * lisp/vc/vc-hg.el (vc-hg-error-regexp-alist): Make non-trivial.
      (vc-hg--pushpull): Accept `post-processing' argument.
      Call them after the `command'.
      (vc-hg-pull): Pass the `post-processing' commands that show which
      are to be modified by the `update', and then run `update'.
      6d4cbe80
    • Sam Steingold's avatar
      Fix Bug#11728: show files updated by git · 66a491fb
      Sam Steingold authored
      * lisp/vc/vc-git.el (vc-git--pushpull): Accept extra-args and set
      `compilation-error-regexp-alist' to `vc-git-error-regexp-alist'.
      (vc-git-pull): Pass "--stat" as `extra-args' to `vc-git--pushpull'.
      (vc-git-push): Pass "" as `extra-args' to `vc-git--pushpull'.
      66a491fb
    • Noam Postavsky's avatar
      ; Reduce quoting for SELECTOR in 'make -C test' (Bug#31744) · 5bdc3447
      Noam Postavsky authored
      Before:
      
          make -C test SELECTOR='\"foo\"'
          make -C test SELECTOR='(quote (tag :some-tag))'
      
      After:
      
          make -C test SELECTOR='"foo"'
          make -C test SELECTOR='(tag :some-tag)'
      
      * test/Makefile.in: Use single quotes around the command line call to
      ert, this means the user doesn't have to backslash escape double
      quotes when writing lisp strings for the selector.  Also wrap the
      SELECTOR value in (quote ...) so the user won't have to type it
      in (and not get tempted to use the '... reader syntax form which would
      now fail to work due to using single quotes around the whole shell
      arg).
      * test/README: Update instructions accordingly.
      5bdc3447