1. 11 Apr, 2021 1 commit
  2. 10 Apr, 2021 28 commits
  3. 09 Apr, 2021 11 commits
    • Dmitry Gutov's avatar
      Don't stop when before space or closing paren · 0db2126d
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
      Don't stop when before space or closing paren (bug#47665).
      0db2126d
    • Alan Mackenzie's avatar
      CC Mode: fix c-where-wrt-brace-construct to cope with class declarations · f493a9be
      Alan Mackenzie authored
      Make the function correctly recognize a brace block preceded by an
      introductory line without a parameter list.
      
      * lisp/progmodes/cc-cmds.el (c-where-wrt-brace-contruct): Reintroduce the use
      of c-beginning-of-decl-1, which was removed some weeks ago, in place of a
      c-syntactic-skip-backward.  Reformulate the code generally.
      f493a9be
    • Mattias Engdegård's avatar
      Fix condition-case optimiser bug · 59342f68
      Mattias Engdegård authored
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't
      perform incorrect optimisations when a condition-case variable shadows
      another lexical variable.
      * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
      New test case.
      59342f68
    • Mattias Engdegård's avatar
      Better compiler warning tests · b7a7e879
      Mattias Engdegård authored
      These changes allow all bytecomp-tests to be run interactively.
      
      * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp--with-warning-test)
      (bytecomp--define-warning-file-test): Interpret any space in the
      pattern as arbitrary whitespace to tolerate line breaks.
      Don't abuse the expected-failure mechanism when checking
      for the expected absense of a warning.
      (bytecomp/*.el): Rewrite patterns to work with line breaks
      in the middle.
      b7a7e879
    • Mattias Engdegård's avatar
      Clean up bytecomp-tests.el · a2a7cfde
      Mattias Engdegård authored
      Now all test cases are run with both lexical and dynamic binding
      where applicable, comparing interpreted against compiled results.
      Previously, almost all tests were only run with dynamic binding
      which was definitely not intended.
      
      * test/lisp/emacs-lisp/bytecomp-tests.el
      (byte-opt-testsuite-arith-data): Rename to bytecomp-tests--test-cases.
      (bytecomp-check-1, bytecomp-explain-1, bytecomp-tests)
      (bytecomp-lexbind-tests, bytecomp-lexbind-check-1)
      (bytecomp-lexbind-explain-1): Remove.
      (bytecomp-tests--eval-interpreted, bytecomp-tests--eval-compiled)
      (bytecomp-tests-lexbind, bytecomp-tests-dynbind)
      (bytecomp-tests--test-cases-lexbind-only): New.
      a2a7cfde
    • Stefan Kangas's avatar
      Make refer-every into obsolete alias for seq-every-p · 40db6056
      Stefan Kangas authored
      * lisp/textmodes/refer.el (refer-every): Make into obsolete
      function alias for seq-every-p.  Update single caller.
      40db6056
    • Stefan Kangas's avatar
      Remove redundant #' before lambda in ibuf-*.el · 512ec97b
      Stefan Kangas authored
      * lisp/ibuf-ext.el (ibuffer-included-in-filters-p)
      (ibuffer-included-in-filter-p-1, ibuffer-do-kill-lines)
      (ibuffer-jump-to-buffer, ibuffer-mark-on-buffer)
      (ibuffer-mark-by-name-regexp, ibuffer-mark-by-mode-regexp)
      (ibuffer-mark-by-content-regexp, ibuffer-mark-by-mode)
      (ibuffer-mark-modified-buffers, ibuffer-mark-unsaved-buffers)
      (ibuffer-mark-dissociated-buffers, ibuffer-mark-help-buffers)
      (ibuffer-mark-compressed-file-buffers, ibuffer-mark-old-buffers)
      (ibuffer-mark-special-buffers, ibuffer-mark-read-only-buffers)
      (ibuffer-mark-dired-buffers, ibuffer-do-occur):
      * lisp/ibuf-macs.el (ibuffer-save-marks, define-ibuffer-sorter)
      (define-ibuffer-op): Remove redundant #' before lambda.
      512ec97b
    • Stefan Kangas's avatar
      Don't preserve window-line in tabulated-list-print · cdd72c5d
      Stefan Kangas authored
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Don't
      try to preserve window-line.  (Bug#42747)
      cdd72c5d
    • Stefan Kangas's avatar
      Use lexical-binding in winner.el · 22515134
      Stefan Kangas authored
      * lisp/winner.el: Use lexical-binding.  Remove redundant :group
      args.
      (winner-set, winner-mode-map): Quote function symbols as such.
      22515134
    • Stefan Monnier's avatar
      e7ee3f73
    • Stefan Kangas's avatar
      Use lexical-binding in cmuscheme.el · fb596973
      Stefan Kangas authored
      * lisp/cmuscheme.el: Use lexical-binding.  Doc fixes.  Remove
      redundant :group args.  Quote function symbols as such.
      fb596973