1. 10 Jul, 2018 2 commits
    • Basil L. Contovounesios's avatar
      Add predicate proper-list-p · 2fde6275
      Basil L. Contovounesios authored
      For discussion, see emacs-devel thread starting at
      * lisp/subr.el (proper-list-p): New function.
      Implementation suggested by Paul Eggert <eggert@cs.ucla.edu> in
      * doc/lispref/lists.texi (List Elements):
      * etc/NEWS: Document proper-list-p.
      * lisp/org/ob-core.el (org-babel-insert-result):
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-if):
      * lisp/emacs-lisp/cl-macs.el (cl--make-usage-args): Use proper-list-p.
      * lisp/emacs-lisp/ert.el (ert--proper-list-p): Remove.
      Replaced by proper-list-p in lisp/subr.el.
      (ert--explain-equal-rec): Use proper-list-length.
      * lisp/format.el (format-proper-list-p): Remove.
      Replaced by proper-list-p in lisp/subr.el.
      (format-annotate-single-property-change): Use proper-list-p.
      * test/lisp/emacs-lisp/ert-tests.el (ert-test-proper-list-p):
      Move from here...
      * test/lisp/subr-tests.el (subr-tests--proper-list-length):
      ...to here, mutatis mutandis.
    • Noam Postavsky's avatar
      Respect field boundaries in indent-line-to (Bug#32014) · e4ad2d1a
      Noam Postavsky authored
      * lisp/indent.el (indent-line-to): Use the back-to-indentation point
      as the end-point of whitespace removal, rather than
      backward-to-indentation which doesn't respect field boundaries.
      * test/lisp/emacs-lisp/lisp-mode-tests.el
      (lisp-indent-with-read-only-field): Don't expect to fail.
  2. 09 Jul, 2018 3 commits
    • Noam Postavsky's avatar
      Stop using indent-line-to in lisp-indent-line (Bug#32014) · 8f7d35ca
      Noam Postavsky authored
      This is partial revert of "Remove ignored argument from
      lisp-indent-line", because `indent-line-to' doesn't respect field
      * lisp/emacs-lisp/lisp-mode.el (lisp-indent-line): Use delete-region
      and indent-to instead of `indent-line-to'.
      * test/lisp/emacs-lisp/lisp-mode-tests.el
      (lisp-indent-with-read-only-field): Expect to pass.
      Don't merge to master, we will fix indent-line-to there instead.
    • Michael Albinus's avatar
      Fix Bug#32090 · 917158f8
      Michael Albinus authored
      * lisp/files-x.el (connection-local-normalize-criteria): Do not
      use PROPERTIES anymore.
      (connection-local-get-profiles): Rewrite, in order to accept any
      property as optional.  (Bug#32090)
      Adapt ´connection-local-normalize-criteria' call.
      * test/lisp/files-x-tests.el
      (files-x-test-hack-connection-local-variables-apply): Extend tests.
    • Sam Steingold's avatar
  3. 08 Jul, 2018 4 commits
  4. 07 Jul, 2018 6 commits
  5. 06 Jul, 2018 2 commits
  6. 04 Jul, 2018 3 commits
  7. 03 Jul, 2018 4 commits
  8. 02 Jul, 2018 2 commits
    • João Távora's avatar
      Make lisp/jsonrpc.el work with Emacs 25.1 · 332f4656
      João Távora authored
      * jsonrpc.el (Package-Requires): Require Emacs 25.1
      (jsonrpc-lambda): Use cl-gensym.
      (jsonrpc--call-deferred): Caddr doesn't exist in
      emacs 25.1.
      * jsonrpc-tests.el
      (jsonrpc--call-with-emacsrpc-fixture): New function.
      (jsonrpc--with-emacsrpc-fixture): Use it.
      (deferred-action-complex-tests): Adjust test for Emacs 25.1
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      Remove argument documentation from all minor modes.
  9. 01 Jul, 2018 4 commits
  10. 30 Jun, 2018 8 commits
  11. 29 Jun, 2018 2 commits