summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl.el
Commit message (Collapse)AuthorAgeFilesLines
* Miscellanous cleanups in preparation for the merge.Stefan Monnier2011-04-011-3/+3
| | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove debug statement. * lisp/emacs-lisp/bytecomp.el (byte-compile-single-version) (byte-compile-version-cond, byte-compile-delay-out) (byte-compile-delayed-out): Remove, unused. * src/bytecode.c (Fbyte_code): Revert to old calling convention. * src/lisp.h (COMPILED_PUSH_ARGS): Remove, unused.
* Remove bytecomp- prefix, plus misc changes.Stefan Monnier2011-03-161-3/+3
| | | | | | | | | | | | | | | | | | | | * 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.
* Misc fixes, and use lexical-binding in more files.Stefan Monnier2011-03-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | * lisp/emacs-lisp/cl.el: No longer provide cl-19.Glenn Morris2010-10-051-1/+0
|/ | | | * etc/NEWS: Mention this change.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* (cl-macro-environment): Don't define it here.Stefan Monnier2009-08-301-1/+1
|
* (cl-compiling-file): Update for the name-change `outbuffer' toGlenn Morris2009-07-231-4/+5
| | | | `bytecomp-outbuffer'.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (floor*, ceiling*, truncate*, round*, mod*): Declare.Glenn Morris2008-11-191-0/+8
|
* (cl-do-pop, cl-mapcar-many): Declare for compiler.Glenn Morris2008-07-161-6/+11
| | | | | (cl-hack-byte-compiler): Load cl-macs and run cl-hack-bytecomp-hook directly. Provide cl before loading cl-macs.
* (cl-set-nthcdr): Make it a defsubst so thatStefan Monnier2008-05-121-1/+1
| | | | (setf (nthcdr ..) ..) doesn't require CL at runtime.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (cl-cannot-unload): Remove function.Juanma Barranquero2007-10-311-3/+5
| | | | | | | | | | | | (cl-unload-hook): Remove variable. (cl-unload-function): New-style unload function, adapted from `cl-cannot-unload'.
* | Move local variables to end of file, and set byte-compile-warnings toGlenn Morris2007-10-291-1/+6
| | | | | | | | `(not cl-functions)'.
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | Load cl-loaddefs.el quietly.Stefan Monnier2007-07-101-1/+1
| |
* | Set edebug and indentation before loadingStefan Monnier2007-06-281-25/+25
| | | | | | | | cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
* | Use cl-loaddefs.el rather than manual autoloads.Stefan Monnier2007-06-271-83/+35
|/
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-071-1/+1
|
* (pushnew-internal): Remove defvar.Kim F. Storm2006-10-031-3/+2
| | | | (pushnew): Fix last change.
* (pushnew): Rework 2006-09-10 change. Use memqlKim F. Storm2006-09-201-3/+1
| | | | instead of add-to-list in the simple case.
* (pushnew): Add missing `,'.Reiner Steib2006-09-111-1/+1
|
* (pushnew): Use add-to-list when convenient.Richard M. Stallman2006-09-101-1/+8
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
|
* (toplevel): Remove definition of `cl-assertion-failed' condition --John Paul Wallington2006-01-301-3/+0
| | | | it's defined in subr.el instead.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (acons, pairlis): Add docstring.Juanma Barranquero2005-05-231-2/+11
|
* (eql): Remove. It's a builtin already.Stefan Monnier2005-05-221-11/+1
|
* (pushnew, cl-macroexpand, floatp-safe, plusp, minusp, oddp, evenp, mapcar*,Juanma Barranquero2005-05-221-19/+25
| | | | list*, copy-list, adjoin, subst): Improve argument/docstring consistency.
* (eql, floatp-safe, plusp, minusp, oddp, evenp, list*): Doc fixes.Juanma Barranquero2005-05-171-7/+7
|
* (cl-unload-hook): Don't defvar it, just set it.Richard M. Stallman2004-10-161-2/+1
|
* (cl-cannot-unload): New function.Richard M. Stallman2004-01-161-0/+4
| | | | (cl-unload-hook): Defvar this to run cl-cannot-unload.
* *** empty log message ***Luc Teirlinck2004-01-161-1/+1
|
* Add `fmakunbound' for `declare'.Luc Teirlinck2004-01-161-0/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (multiple-value-call): Add docstring.Stefan Monnier2002-11-191-1/+3
|
* (cl-set-substring): Fix thinko.Stefan Monnier2002-07-131-3/+3
| | | | (cl-hack-byte-compiler): Avoid infinite require loop.
* (multiple-value-call): Add alias.Richard M. Stallman2002-07-121-0/+2
|
* (values): Simplify definition.Richard M. Stallman2002-06-261-1/+1
|
* (copy-list): Moved back from subr.el.Richard M. Stallman2002-06-101-0/+9
|
* (copy-list): Moved to subr.el.Colin Walters2002-06-081-9/+0
|