1. 16 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      Remove bytecomp- prefix, plus misc changes. · ca105506
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): Make it work to
      inline lexbind interpreted functions into lexbind code.
      (bytedecomp-bytes): Not a dynamic var any more.
      (disassemble-offset): Get the bytes via an argument instead.
      (byte-decompile-bytecode-1): Use push.
      * lisp/emacs-lisp/bytecomp.el: Remove the bytecomp- prefix now that we use
      lexical-binding.
      (byte-compile-outbuffer): Rename from bytecomp-outbuffer.
      * lisp/emacs-lisp/cl-macs.el (load-time-value):
      * lisp/emacs-lisp/cl.el (cl-compiling-file): Adjust to new name.
      * lisp/emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
      Add byte-code-function-p.
      (pcase--u1): Remove left-over code from early development.
      Fix case of variable shadowing in guards and predicates.
      (pcase--u1): Add a new `let' pattern.
      * src/image.c (parse_image_spec): Use Ffunctionp.
      * src/lisp.h: Declare Ffunctionp.
      ca105506
  2. 11 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      Misc fixes, and use lexical-binding in more files. · ba83908c
      Stefan Monnier authored
      * lisp/subr.el (letrec): New macro.
      (with-wrapper-hook): Move from lisp/simple.el and don't use CL.
      * simple.el (with-wrapper-hook): Move with-wrapper-hook to subr.el.
      * lisp/help-fns.el (help-function-arglist): Handle subroutines as well.
      (describe-variable): Use special-variable-p to filter completions.
      * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't expand `declare'
      in defmacros.
      * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
      Handle `declare'.
      * lisp/emacs-lisp/cl.el (pushnew): Silence unfixable warning.
      * lisp/emacs-lisp/cl-macs.el (defstruct, define-compiler-macro):
      Mark unused arg as unused.
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Use memq.
      * lisp/emacs-lisp/autoload.el (make-autoload): Don't assume the macro's
      first sexp is a list.
      (autoload-generate-file-autoloads): Improve error message.
      * lisp/emacs-lisp/advice.el (ad-arglist): Use help-function-arglist
      to understand the new byte-code arg format.
      * lisp/vc/smerge-mode.el:
      * lisp/vc/log-view.el:
      * lisp/vc/log-edit.el:
      * lisp/vc/cvs-status.el:
      * lisp/uniquify.el:
      * lisp/textmodes/css-mode.el:
      * lisp/textmodes/bibtex-style.el:
      * lisp/reveal.el:
      * lisp/newcomment.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/abbrev.el: Use lexical-binding.
      * src/eval.c (Fprog1, Fprog2): Simplify and use XCDR/XCAR.
      (Fdefvar): Remove redundant SYMBOLP check.
      (Ffunctionp): Don't signal an error for undefined aliases.
      * doc/lispref/variables.texi (Converting to Lexical Binding): New node.
      ba83908c
  3. 25 Jan, 2011 1 commit
  4. 15 Jan, 2011 1 commit
  5. 02 Jan, 2011 1 commit
  6. 06 Oct, 2010 1 commit
  7. 13 Jan, 2010 1 commit
  8. 30 Aug, 2009 1 commit
  9. 23 Jul, 2009 1 commit
  10. 05 Jan, 2009 1 commit
  11. 19 Nov, 2008 1 commit
  12. 16 Jul, 2008 1 commit
  13. 12 May, 2008 1 commit
  14. 06 May, 2008 1 commit
  15. 07 Jan, 2008 1 commit
  16. 31 Oct, 2007 1 commit
  17. 29 Oct, 2007 1 commit
  18. 25 Jul, 2007 1 commit
  19. 10 Jul, 2007 1 commit
  20. 28 Jun, 2007 1 commit
  21. 27 Jun, 2007 1 commit
  22. 21 Jan, 2007 1 commit
  23. 07 Dec, 2006 1 commit
  24. 03 Oct, 2006 1 commit
  25. 20 Sep, 2006 1 commit
  26. 11 Sep, 2006 1 commit
  27. 10 Sep, 2006 1 commit
  28. 06 Feb, 2006 1 commit
  29. 30 Jan, 2006 1 commit
  30. 06 Aug, 2005 1 commit
  31. 04 Jul, 2005 1 commit
  32. 23 May, 2005 1 commit
  33. 22 May, 2005 2 commits
  34. 17 May, 2005 1 commit
  35. 16 Oct, 2004 1 commit
  36. 16 Apr, 2004 1 commit
  37. 16 Jan, 2004 3 commits