1. 08 Jun, 2012 5 commits
  2. 07 Jun, 2012 7 commits
    • Stefan Monnier's avatar
      Move old compatiblity to cl.el. Remove cl-macroexpand-all. · 6fa6c4ae
      Stefan Monnier authored
      * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
      (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
      (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
      (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
      (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
      (cl-macroexpand-cmacs): Remove var.
      (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
      Use macroexpand-all instead.
      * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
      (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
      (cl-member): Remove old alias.
      * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
      Use macroexpand-all-environment instead.
      (cl--old-macroexpand): New var.
      (cl--sm-macroexpand): New function.
      (cl-symbol-macrolet): Use it during macro expansion.
      (cl--function-convert-cache): New var.
      (cl--function-convert): New function, extracted from
      (cl-lexical-let): Use it.
      * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
      (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
      (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
      (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
      (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
      (cl-hash-table-count): Add old compatibility aliases.
    • Stefan Monnier's avatar
      Cleanup cl-macs namespace. Add macro helpers in macroexp.el. · 4dd1c416
      Stefan Monnier authored
      * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
      (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
      (macroexp-copyable-p): New functions and macros.
      * emacs-lisp/edebug.el (edebug-unwrap):
      * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
      * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
      (pcase--let*): Remove.
      * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
      (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
      macroexp-const-p instead.
      * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
      * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
      instead of "cl-" for internal definitions.  Use macroexp-const-p.
      (cl-old-bc-file-form): Remove var.
      (cl-const-exprs-p): Remove fun.
      (cl-labels, cl-macrolet): Use backquote.
      (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
      (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
      (cl-define-setf-expander): Rename from cl-define-setf-method.
      * emacs-lisp/cl.el: Adjust alias for define-setf-method.
      * international/mule-cmds.el: Don't require CL.
      (view-hello-file): Don't use `letf'.
    • Stefan Monnier's avatar
      * tmm.el (tmm-prompt): Use string-prefix-p. · 7287f2f3
      Stefan Monnier authored
      (tmm-completion-delete-prompt): Don't affect current-buffer outside.
      (tmm-add-prompt): Use minibuffer-completion-help.
      (tmm-delete-map): Remove.
    • Stefan Monnier's avatar
    • Chong Yidong's avatar
      Add NEWS item about Buffer Menu rewrite. · 8b0823d6
      Chong Yidong authored
    • Stefan Merten's avatar
      * rst.el: Use `eval-when-compile' for requiring · 7b4cdbf4
      Stefan Merten authored
      `cl.el'.  Silence compiler warnings.  Fix versions.
      (rst-position-if, rst-position, rst-some, rst-signum): New
      (rst-shift-region, rst-adornment-level, rst-compute-tabs)
      (rst-indent-line, rst-shift-region, rst-forward-line): Use new
      (rst-package-emacs-version-alist): Correct Emacs version to
      represent major merge with upstream.
      (rst-transition, rst-adornment, rst-compile-toolsets): Fix
    • Paul Eggert's avatar
      * doprnt.c (doprnt): Truncate multibyte char correctly. · 86f158bc
      Paul Eggert authored
      Without this change, doprnt (buf, 2, "%s", FORMAT_END, AP)
      would mishandle a string argument "Xc" if X was a multibyte
      character of length 2: it would truncate after X's first byte
      rather than including all of X.
  3. 06 Jun, 2012 15 commits
  4. 05 Jun, 2012 10 commits
  5. 04 Jun, 2012 3 commits