1. 12 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/byte-lexbind.el: Delete. · ce5b520a
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-current-heap-environment)
      (byte-compile-current-num-closures): Remove vars.
      (byte-vec-ref, byte-vec-set): Remove byte codes.
      (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv): Move from
      byte-lexbind.el.
      (byte-compile-lambda): Never build a closure.
      (byte-compile-closure-code-p, byte-compile-make-closure): Remove.
      (byte-compile-closure): Simplify.
      (byte-compile-top-level): Don't mess with heap environments.
      (byte-compile-dynamic-variable-bind): Always maintain
      byte-compile-bound-variables.
      (byte-compile-variable-ref, byte-compile-variable-set): Always just use
      the stack for lexical vars.
      (byte-compile-push-binding-init): Simplify.
      (byte-compile-not-lexical-var-p): New function, moved from cconv.el.
      (byte-compile-bind, byte-compile-unbind): New functions, moved and
      simplified from byte-lexbind.el.
      (byte-compile-let, byte-compile-let*): Simplify.
      (byte-compile-condition-case): Don't add :fun-body to the bound vars.
      (byte-compile-defmacro): Simplify.
      * lisp/emacs-lisp/byte-opt.el (byte-compile-side-effect-free-ops)
      (byte-optimize-lapcode): Remove byte-vec-ref and byte-vec-set.
      * lisp/emacs-lisp/cconv.el (cconv-not-lexical-var-p): Remove.
      (cconv-freevars, cconv-analyse-function, cconv-analyse-form):
      Use byte-compile-not-lexical-var-p instead.
      * src/bytecode.c (Bvec_ref, Bvec_set): Remove.
      (exec_byte_code): Don't handle them.
      * lisp/help-fns.el (describe-function-1): Fix paren typo.
      ce5b520a
  2. 11 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      Let cconv use :fun-body in special forms that need it. · 295fb2ac
      Stefan Monnier authored
      * lisp/emacs-lisp/cconv.el (cconv-closure-convert): Drop `toplevel' arg.
      (cconv-closure-convert-toplevel): Remove.
      (cconv-lookup-let): New fun.
      (cconv-closure-convert-rec): Don't bother with defs-are-legal.
      Use :fun-body to handle special forms that require closing their forms.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form, byte-compile):
      Use cconv-closure-convert instead of cconv-closure-convert-toplevel.
      (byte-compile-lambda, byte-compile-make-closure):
      * lisp/emacs-lisp/byte-lexbind.el (byte-compile-maybe-push-heap-environment):
      Make sure cconv did its job.
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Check stack-depth
      before using it.
      * lisp/dired.el (dired-desktop-buffer-misc-data): Don't use a dynamic var as
      function argument.
      295fb2ac
  3. 25 Jan, 2011 1 commit
  4. 02 Jan, 2011 1 commit
  5. 05 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Silence byte-opt.el compilation. · 17fc58c9
      Glenn Morris authored
      * lisp/emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
      variables bytes, ptr, op a prefix.
      (disassemble-offset): Update for above change.
      17fc58c9
  6. 12 Oct, 2010 1 commit
    • Juanma Barranquero's avatar
      Fix typos in docstrings, comments and ChangeLogs. · c0943d3d
      Juanma Barranquero authored
      * etc/tutorials/TUTORIAL.es: Fix typos.
      
      * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
        Fix typo in message.
        (semantic-symref-list-map-open-hits): Fix typo in docstring.
      
      * lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
      
      * lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
      
      * lisp/international/mule.el (define-coding-system):
      * lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
      * composite.el (compose-region): Fix typo in docstring.
      
      * lisp/org/org-agenda.el (org-prefix-category-length)
        (org-prefix-category-max-length): Fix typos in docstrings.
      
      * src/font.c (Ffont_variation_glyphs):
      * ccl.c (Fccl_execute_on_string): Fix typo in docstring.
      c0943d3d
  7. 27 Sep, 2010 1 commit
  8. 29 Aug, 2010 1 commit
  9. 13 Jun, 2010 1 commit
  10. 13 Jan, 2010 1 commit
  11. 10 Sep, 2009 1 commit
  12. 05 Jan, 2009 1 commit
  13. 21 Nov, 2008 1 commit
    • Chong Yidong's avatar
      (byte-compile-butlast): Move up in file. · cbe5b0eb
      Chong Yidong authored
      (byte-optimize-plus): Don't call
      byte-optimize-delay-constants-math (bug#1334).  Use
      byte-optimize-predicate to optimize constants.
      (byte-optimize-minus): Don't call
      byte-optimize-delay-constants-math.  Remove zero arguments first
      if possible.  Call byte-optimize-predicate to optimize constants.
      (byte-optimize-multiply): Remove optimizations for arguments of 0
      and 2, which may be inaccurate.  Optimize (* x -1) to (- x).  Call
      byte-optimize-predicate.
      (byte-optimize-divide): Leave runtime errors unchanged.
      Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of
      0 and 2.0, which may be inaccurate.  Call byte-optimize-predicate.
      cbe5b0eb
  14. 06 May, 2008 1 commit
  15. 25 Mar, 2008 1 commit
  16. 03 Mar, 2008 2 commits
  17. 07 Jan, 2008 1 commit
  18. 20 Nov, 2007 1 commit
  19. 14 Nov, 2007 1 commit
  20. 13 Nov, 2007 1 commit
  21. 10 Nov, 2007 1 commit
    • Dan Nicolaescu's avatar
      * emacs-lisp/byte-opt.el (byte-optimize-featurep): Optimize · 70f41945
      Dan Nicolaescu authored
      (featurep 'emacs) to t.
      
      * emacs-lisp/bytecomp.el (byte-compile-find-bound-condition): New
      function.
      (byte-compile-maybe-guarded): Use it to also look for bound
      symbols inside `and' forms.  Comment out non-working code that was
      trying to avoid warnings for XEmacs code.
      70f41945
  22. 21 Oct, 2007 1 commit
  23. 12 Oct, 2007 1 commit
  24. 24 Aug, 2007 1 commit
  25. 23 Aug, 2007 2 commits
  26. 08 Aug, 2007 1 commit
  27. 25 Jul, 2007 1 commit
  28. 05 Jul, 2007 1 commit
  29. 01 Jul, 2007 1 commit
  30. 11 Apr, 2007 2 commits
  31. 10 Apr, 2007 1 commit
  32. 09 Apr, 2007 1 commit
  33. 06 Apr, 2007 1 commit
  34. 05 Apr, 2007 1 commit
  35. 21 Jan, 2007 1 commit
  36. 06 Feb, 2006 1 commit
  37. 16 Nov, 2005 1 commit