1. 14 Dec, 2018 4 commits
  2. 13 Dec, 2018 6 commits
  3. 12 Dec, 2018 6 commits
    • Juri Linkov's avatar
      * lisp/vc/vc.el (vc-find-revision-no-save): Use decode-coding-inserted-region · fcccd52a
      Juri Linkov authored
      and after-insert-file-set-coding.  Don't let-bind coding-system-for-read
      and coding-system-for-write.  For non-interactive use, let-bind
      enable-local-variables to :safe and ignore errors from set-auto-mode call.
      (Bug#33567)
      fcccd52a
    • Glenn Morris's avatar
      Improve em-ls-test-bug27844 · f3183009
      Glenn Morris authored
      * test/lisp/eshell/em-ls-tests.el (em-ls-test-bug27844):
      Skip if source-directory absent.
      f3183009
    • Paul Eggert's avatar
      Simplify validate_interval_range and callers · 8a247f60
      Paul Eggert authored
      * src/textprop.c (validate_interval_range):
      Remove useless code.  Fix comment to match current behavior.
      (set_text_properties, copy_text_properties): Simplify, as
      validate_interval_range has not incremented START or END for
      quite some time.
      (copy_text_properties): Assume C99.  Fix an unlikely
      integer overflow bug if WIDE_EMACS_INT.
      8a247f60
    • Paul Eggert's avatar
      set_text_properties_1 can assume START <= END · 23e9e8ab
      Paul Eggert authored
      * src/textprop.c (set_text_properties_1):
      Do not swap START and END.  All callers do that already,
      and the test for swapping here is redundant.
      23e9e8ab
    • Eli Zaretskii's avatar
      Fix regression in expand-file-name with drive-relative HOME · 6e76e11c
      Eli Zaretskii authored
      * src/fileio.c (get_homedir) [DOS_NT]: Expand drive-relative
      $HOME to begin with "X:/".
      
      * test/src/fileio-tests.el (fileio-tests--relative-HOME): Add
      testing of drive-relative value of $HOME on MS-Windows and
      MS-DOS.
      6e76e11c
    • Michael Albinus's avatar
      Fix Bug#33568 · 8c28ac80
      Michael Albinus authored
      * test/lisp/net/secrets-tests.el (secrets-test02-collections)
      (secrets-test03-items): Do not expect "login" collection to
      exist.  (Bug#33568)
      8c28ac80
  4. 11 Dec, 2018 6 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/map.el: Make the functions generic · 1691a510
      Stefan Monnier authored
      Make them document their delegation relationship, to clarify when
      a method is needed.
      (map--dispatch): Give more info in the error message.
      (map-elt): Make it generic and deprecate the 'testfn' arg.
      (map-put): Make it obsolete.
      (map-length): Make it work on hash-tables.
      (map-apply): Define it in terms of map-do.
      (map-do, map-into): Use cl-generic dispatch instead of map--dispatch.
      (map-empty-p): Define it in terms of map-length.
      (map-contains-key): Deprecate 'testfn'.  Make it return a boolean, so
      it can return non-nil even if 'key' is nil.  Improve implementation to
      avoid constructing an intermediate list of all keys.
      (map-merge-with): Use 'eql' rather than `eq'.
      (map-put!): Rename from map--put and make it generic, to replace map-put.
      (map--apply-alist, map--apply-hash-table, map--apply-array):
      Turn them into methods of map-apply.
      (map--do-alist, map--do-array): Turn them into methods of map-do.
      (map--into-hash-table): Turn it into a method of map-into.
      1691a510
    • Stephen Leake's avatar
      Fix bug in display-buffer-use-some-frame · 4d3f7b77
      Stephen Leake authored
      * lisp/window.el (display-buffer-use-some-frame): Pass 'reuse, not
      'frame, to window--display-buffer.
      4d3f7b77
    • Martin Rudalics's avatar
      Fix typo in 'dired-restore-positions' · 1e34d757
      Martin Rudalics authored
      * lisp/dired.el (dired-restore-positions): Fix typo in last
      change fixing Bug#33458.
      1e34d757
    • Glenn Morris's avatar
      Add test/Makefile machinery to exclude test .el files · 7f95e1ae
      Glenn Morris authored
      * test/Makefile.in (EXCLUDE_TESTS): New variable.
      (ELFILES): Filter out any specified exclude files.
      7f95e1ae
    • Nobuyoshi Nakada's avatar
      Support Ruby block arguments ending with , or * · 3729a3f8
      Nobuyoshi Nakada authored
      * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token):
      Recognize punctuation before "closing-|" as a separate token.
      (ruby-smie--backward-token): Same (bug#33487).
      
      * test/lisp/progmodes/ruby-mode-tests.el
      (ruby-forward-sexp-jumps-do-end-block-with-no-args)
      (ruby-backward-sexp-jumps-do-end-block-with-no-args)
      (ruby-forward-sexp-jumps-do-end-block-with-empty-args)
      (ruby-backward-sexp-jumps-do-end-block-with-empty-args)
      (ruby-forward-sexp-jumps-do-end-block-with-args)
      (ruby-backward-sexp-jumps-do-end-block-with-args)
      (ruby-forward-sexp-jumps-do-end-block-with-any-args)
      (ruby-forward-sexp-jumps-do-end-block-with-expanded-one-arg)
      (ruby-forward-sexp-jumps-do-end-block-with-one-and-any-args)
      (ruby-backward-sexp-jumps-do-end-block-with-one-and-any-args):
      New tests.
      3729a3f8
    • Juri Linkov's avatar
      * lisp/isearch.el (isearch-pre-command-hook): Support `isearch-move' · 0054961a
      Juri Linkov authored
      command properties with values `enabled' and `disabled'
      also for the value `shift' of isearch-yank-on-move.  (Bug#15839)
      0054961a
  5. 10 Dec, 2018 16 commits
  6. 09 Dec, 2018 2 commits