1. 23 Jan, 2018 3 commits
    • Tom Tromey's avatar
      Add new bytecodes for unwind-protect · 916094a8
      Tom Tromey authored
      * lisp/emacs-lisp/byte-opt.el (disassemble-offset): Handle
      * lisp/emacs-lisp/bytecomp.el (byte-pushunwindprotect)
      (byte-endunwindprotect): New bytecodes.
      (byte-goto-ops): Add byte-pushunwindprotect.
      (byte-compile-unwind-protect): Emit new bytecodes.
      (byte-compile-goto): Handle byte-pushunwindprotect.
      * lisp/emacs-lisp/cconv.el (cconv-convert): Don't special-case
      unwind-protect when byte-compile--use-old-handlers.
      (cconv-analyze-form): Likewise.
      * src/bytecode.c (Bpushunwindprotect, Bendunwindprotect): New bytecodes.
      (exec_byte_code): Implement new bytecodes.
      * test/src/bytecode-tests.el: New file.
    • Tom Tromey's avatar
      Make CATCHER_ALL work for signal as well as throw · a6b4b9b4
      Tom Tromey authored
      * src/emacs-module.c (MODULE_HANDLE_NONLOCAL_EXIT): Use
      (module_handle_signal, module_handle_throw): Remove.
      (module_handle_unwind_protect): New function.
      * src/eval.c (Fthrow): Add 'throw to value thrown to
      (internal_catch_all_1): Remove.
      (internal_catch_all): Use CATCHER_ALL.
      (signal_or_quit): Also unwind to CATCHER_ALL.
      (syms_of_eval): Define Qthrow.
      * src/lisp.h (enum handlertype): Update comment.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/ert.el (describe-symbol-backends): Add ourselves · 0a75af91
      Stefan Monnier authored
      (ert-describe-test): Return the description text as well.
      Remove left over version check.
      * lisp/help-mode.el (describe-symbol-backends): Add docstring.
  2. 22 Jan, 2018 10 commits
  3. 21 Jan, 2018 11 commits
  4. 20 Jan, 2018 16 commits