1. 08 Jun, 2017 1 commit
    • Noam Postavsky's avatar
      Split variable macro env from function env · 0648edf3
      Noam Postavsky authored
      * lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Remove.
      (cl-symbol-macrolet): Instead of adding each binding directly into the
      main environment with a special key format, put all symbol macro
      bindings into a single entry in the main environment under
      `:cl-symbol-macros'.
      (cl--sm-macroexpand): Look up symbol bindings in the
      `:cl-symbol-macros' entry of the environment.
      0648edf3
  2. 07 Jun, 2017 7 commits
  3. 06 Jun, 2017 9 commits
  4. 05 Jun, 2017 19 commits
  5. 04 Jun, 2017 4 commits
    • Philipp Stephani's avatar
      Remove an unused error symbol · 2aa8b156
      Philipp Stephani authored
      * src/emacs-module.c (syms_of_module): Remove unused error symbol
      'invalid-module-call'.
      2aa8b156
    • Philipp Stephani's avatar
      Support quitting in modules · 66da3f4a
      Philipp Stephani authored
      The idea is that modules should call env->should_quit from time to
      time and return as quickly as possible if it returns true.
      
      * src/emacs-module.c (module_should_quit): New module function.
      (initialize_environment): Use it.
      (funcall_module): Process potential pending quit.
      
      * src/eval.c (maybe_quit): Add reference to module_should_quit.
      66da3f4a
    • Philipp Stephani's avatar
      Use more specific errors for module load failure · d3720172
      Philipp Stephani authored
      * src/emacs-module.c (syms_of_module): Add more specific error
      symbols.
      (Fmodule_load): Use them.
      d3720172
    • Philipp Stephani's avatar
      Remove an unneeded assertion · 27445a82
      Philipp Stephani authored
      * src/emacs-module.c (module_copy_string_contents): Remove unneeded
      assertion.  If this assertion triggers, we raise an error anyway.
      27445a82