1. 14 Jun, 2013 2 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more. · 1b8dff23
      Stefan Monnier authored
      (package-desc): Add `dir' field.
      (package-desc-full-name): New function.
      (package-load-descriptor): Combine the two arguments.  Don't use `load'.
      (package-maybe-load-descriptor): Remove.
      (package-load-all-descriptors): Just call package-load-descriptor.
      (package--disabled-p): New function.
      (package-desc-vers, package-desc-doc): Remove aliases.
      (package--dir): Remove function.
      (package-activate): Check if a package is disabled.
      (package-process-define-package): New function, extracted from
      define-package.
      (define-package): Turn into a place holder.
      (package-unpack-single, package-tar-file-info):
      Use package--description-file.
      (package-compute-transaction): Use package--disabled-p.
      (package-download-transaction): Don't call
      package-maybe-load-descriptor since they're all loaded anyway.
      (package-install): Change argument to be a pkg-desc.
      (package-delete): Use a single pkg-desc argument.
      (describe-package-1): Use package-desc-dir instead of package--dir.
      Use package-desc property instead of package-symbol.
      (package-install-button-action): Adjust accordingly.
      (package--push): Rewrite.
      (package-menu--print-info): Adjust accordingly.  Change the ID format
      to be a pkg-desc.
      (package-menu-describe-package, package-menu-get-status)
      (package-menu--find-upgrades, package-menu-mark-upgrades)
      (package-menu-execute, package-menu--name-predicate):
      Adjust accordingly.
      * lisp/startup.el (package--description-file): New function.
      (command-line): Use it.
      * lisp/emacs-lisp/package-x.el (package-upload-buffer-internal):
      Use package-desc-version.
      1b8dff23
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var. · 0b31660d
      Stefan Monnier authored
      (byte-compile-preprocess): Use it.
      (byte-compile-file-form-defalias): Try a bit harder to use macros we
      can't quite recognize.
      (byte-compile-add-to-list): Remove.
      * lisp/emacs-lisp/cconv.el (cconv-warnings-only): New function.
      (cconv-closure-convert): Add assertion.
      
      * lisp/emacs-lisp/map-ynp.el: Use lexical-binding.
      (map-y-or-n-p): Remove unused vars `tail' and `object'.
      Factor out some repeated code.
      * etc/NEWS (utf-8 for el): Move to the incompatible section.
      0b31660d
  2. 13 Jun, 2013 24 commits
  3. 12 Jun, 2013 14 commits