summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
Commit message (Collapse)AuthorAgeFilesLines
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Ulrich Mueller <ulm at gentoo.org>Glenn Morris2009-12-071-1/+2
| | | | | (byte-compile-insert-header): Put the version number comment back on its own line, for easier parsing by external tools.
* (byte-compile-save-excursion): Make message consistent with others (noGlenn Morris2009-12-011-1/+1
| | | | final period).
* (byte-compile-warning-types): New type `suspicious'.Stefan Monnier2009-11-271-6/+7
| | | | | | (byte-compile-warnings): Use byte-compile-warning-types. (byte-compile-save-excursion): Warn about use of set-buffer right after save-excursion.
* (byte-compile-output-file-form):YAMAMOTO Mitsuharu2009-11-161-3/+4
| | | | | Quote doc string reference in defvaralias as it is not in special form. (byte-compile-output-docform): Doc fix.
* (byte-compile-single-version): Remove, unused.Glenn Morris2009-11-141-129/+2
| | | | | | | | (baud-rate, byte-code-function-p) (byte-compile-generate-emacs19-bytecodes, byte-compile-overwrite-file) (byte-compiler-valid-options, byte-compiler-options-handler) (byte-compile-and-load-file, byte-compile-buffer): Remove commented-out code.
* (byte-compile-insert-header): Drop test for Emacs 19. (Bug#1531)Glenn Morris2009-11-051-98/+78
| | | | | (byte-compile-fix-header): Update for the above change. Drop test for epoch::version.
* * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.Dan Nicolaescu2009-11-041-1/+1
| | | | * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
* (byte-defop-compiler19): Remove.Glenn Morris2009-11-041-53/+40
| | | | | Without byte-compile-compatibility, the 'emacs19-opcode property is not used by anything. Replace all calls with byte-defop-compiler.
* (byte-compile-version-cond): Remove macro.Glenn Morris2009-11-041-123/+63
| | | | | | | | | | | (byte-compile-compatibility): Remove option. (byte-compile-close-variables, byte-compile-fix-header) (byte-compile-insert-header, byte-compile-output-docform) (byte-compile-file-form-defmumble, byte-compile-byte-code-maker) (byte-compile-lambda, byte-compile-form, byte-defop-compiler19) (byte-compile-list, byte-compile-concat, byte-compile-function-form) (byte-compile-insert, byte-compile-defun): Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
* (byte-compile-file-form-defvar)Glenn Morris2009-11-031-29/+25
| | | | | | | | | (byte-compile-file-form-define-abbrev-table) (byte-compile-file-form-custom-declare-variable) (byte-compile-variable-ref, byte-compile-defvar): Whether or not a warning is enabled should only affect whether we issue the warning, not whether or not we collect the relevant data. Eg warnings can be turned on and off throughout the course of a file.
* (byte-compile-warning-types, byte-compile-warnings): Add `constants'Glenn Morris2009-10-311-85/+64
| | | | | | | | | as an option. (byte-compile-callargs-warn, byte-compile-arglist-warn) (display-call-tree): Update for byte-compile-fdefinition possibly returning `(macro lambda ...)'. (Bug#4778) (byte-compile-variable-ref, byte-compile-setq-default): Respect `constants' member of byte-compile-warnings.
* * eval.c (Fcalled_interactively_p): Add `kind' argument.Stefan Monnier2009-10-011-9/+13
| | | | | | | * subr.el (interactive-p): Mark obsolete. (called-interactively-p): Make the optional-ness of `kind' obsolete. * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey advertised-signature-table for subroutines as well.
* * emacs-lisp/byte-run.el (advertised-signature-table): New var.Stefan Monnier2009-10-011-14/+16
| | | | | | | | | | | (set-advertised-calling-convention): New function. (make-obsolete, define-obsolete-function-alias) (make-obsolete-variable, define-obsolete-variable-alias): Make the optional-ness of `when' obsolete. (define-obsolete-face-alias): Make `when' non-optional. * help-fns.el (help-function-arglist): * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Use advertised-signature-table.
* (byte-compile-defmacro-declaration): New fun.Stefan Monnier2009-10-011-18/+29
| | | | | (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it. (byte-compile-defmacro): Use backquotes.
* (byte-compile-form): Always check the function arguments, whether orGlenn Morris2009-09-171-6/+6
| | | | not it has a handler.
* (byte-compile-not-obsolete-vars): Rename from byte-compile-not-obsolete-var.Glenn Morris2009-09-161-15/+28
| | | | | | | | | | | It's a list now. (byte-compile-not-obsolete-funcs): New variable. (byte-compile-warn-obsolete): Don't warn about functions if they are in byte-compile-not-obsolete-funcs. (byte-compile-variable-ref, byte-compile-defvar): Update for byte-compile-not-obsolete-vars name-change and list nature. (byte-compile-maybe-guarded): Suppress warnings about obsolete functions and variables behind (f)boundp tests.
* * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.Stefan Monnier2009-09-151-1/+0
| | | | * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Don't autoload.
* (byte-compile-refresh-preloaded): New function.Stefan Monnier2009-09-151-1/+22
|
* (byte-compile-keep-pending, byte-compile-file-form, byte-compile-lambda)Glenn Morris2009-09-151-111/+122
| | | | | | | | | (byte-compile-top-level-body, byte-compile-form) (byte-compile-variable-ref, byte-compile-setq) (byte-compile-setq-default, byte-compile-body) (byte-compile-body-do-effect, byte-compile-and, byte-compile-or) (batch-byte-compile): Give some more local variables with common names a "bytecomp-" prefix to avoid masking warnings about free variables.
* (byte-compile-function-environment): Doc fix.Glenn Morris2009-09-101-5/+26
| | | | | | | (byte-compile-file-form-autoload): Don't warn about unknown functions where the autoload statement comes after the use. (with-no-warnings): Give it a byte-hunk-handler like than of progn, so that any handlers inside the body (eg require) are in turn respected.
* (emacs-lisp-file-regexp): Doc fix.Glenn Morris2009-09-051-31/+70
| | | | | | | | | | | | | (byte-compile-dest-file-function): New option. (byte-compile-dest-file): Doc fix. Obey byte-compile-dest-file-function. (byte-compile-cl-file-p): New function. (byte-compile-eval): Only suppress noruntime warnings about cl functions if the cl-functions warning is enabled. Use byte-compile-cl-file-p. (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather than for file being previously loaded. (byte-compile-find-cl-functions): Use byte-compile-cl-file-p. (byte-compile-file-form-require): Handle the case where requiring a file indirectly causes CL to be loaded.
* (byte-compile-interactive-only-functions): Add comint-run.Stefan Monnier2009-08-301-1/+1
|
* (byte-compile-const-symbol-p):Stefan Monnier2009-08-291-4/+17
| | | | | | Recognize immutable variables like most-positive-fixnum. (byte-compile-setq-default): Check and warn if trying to assign to an immutable variable, or a non-variable.
* * gnus/nnheader.el (nnheader-find-file-noselect):Stefan Monnier2009-08-281-6/+7
| | | | | | | | | | | | | | | | | | * gnus/mm-util.el (mm-insert-file-contents): * org/org-html.el (org-export-as-html): * org/org-docbook.el (org-export-as-docbook): * textmodes/reftex.el (reftex-get-file-buffer-force): * progmodes/verilog-mode.el (verilog-batch-execute-func): * emulation/viper.el (viper-go-away, viper-set-hooks): * emacs-lisp/re-builder.el (re-builder-unload-function): * emacs-lisp/bytecomp.el (byte-compile-file): * ses.el (ses-unload-function): * hexl.el (hexl-find-file): * files.el (normal-mode): * ehelp.el (with-electric-help): * autoinsert.el (auto-insert-alist): * arc-mode.el (archive-mode): Use (default-value 'major-mode) instead of default-major-mode.
* (byte-compile-lapcode): Fix up last change.Stefan Monnier2009-08-261-1/+1
|
* (byte-compile-lapcode): Signal overflow.Stefan Monnier2009-08-261-1/+3
|
* (byte-compile-file-form-require): Tweak previous change.Glenn Morris2009-08-251-3/+3
|
* (byte-compile-eval): Fix test for cl in load-history for absolute file-names.Glenn Morris2009-08-251-4/+8
| | | | (byte-compile-file-form-require): Warn about use of the cl package.
* (byte-compile-interactive-only-functions): Add goto-line.Stefan Monnier2009-08-101-1/+2
|
* fix message: new multibyte format requires 23Seiji Zenitani2009-08-061-2/+2
|
* (byte-compile-from-buffer, byte-compile-output-file-form)Glenn Morris2009-07-231-50/+63
| | | | | | | (byte-compile-output-docform, byte-compile-file-form-defmumble) (byte-compile-output-as-comment): Give some more local variables with common names a "bytecomp-" prefix, so as not to shadow things during compilation.
* (emacs-lisp-file-regexp): Fix up EOB.Stefan Monnier2009-02-021-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * emacs-lisp/bytecomp.el (byte-compile-dynamic-docstrings)Juanma Barranquero2008-11-201-21/+21
| | | | | | | | | | | | (byte-compile-output-docform): Reflow docstrings. (no-byte-compile): Fix typo in docstring. (byte-recompile-directory, compile-defun): Doc fixes. (emacs-lisp-file-regexp, byte-compile-verbose) (byte-compile-compatibility, byte-optimize, byte-compile-delete-errors) (byte-compile-dynamic-docstrings, byte-optimize-log) (byte-compile-error-on-warn, byte-compile-warnings) (byte-compile-generate-call-tree, byte-compile-call-tree-sort): Remove * from defcustom docstrings.
* (byte-compile-associative)Chong Yidong2008-11-141-20/+33
| | | | | (byte-compile-minus, byte-compile-quo): If there are more than two operands, don't use binary operation code (bug#1334).
* * bitmaps/README:Dan Nicolaescu2008-07-311-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xfns.c: * termcap.c: * term.c: * syswait.h: * systty.h: * systime.h: * syssignal.h: * sysdep.c: * process.h: * process.c: * print.c: * ndir.h: * lread.c: * keyboard.c: * getpagesize.h: * floatfns.c: * fileio.c: * emacs.c: * doc.c: * dispnew.c: * dired.c: * data.c: * callproc.c: * buffer.c: * README: * Makefile.in: * s/template.h: * s/msdos.h: * m/vax.h: Remove VMS support. * s/vms.h: * vlimit.h: * uaf.h: * temacs.opt: * param.h: * ioctl.h: Remove file. * descrip.mms: * compile.com: Remove file. * Create.c: Remove VMS support. * message.el (Module): * gnus-start.el (Module): * gnus-registry.el (Module): * textmodes/texinfmt.el: * nxml/nxml-enc.el: * mail/feedmail.el: * international/mule.el: * international/latexenc.el: * emulation/viper-util.el: * emulation/viper-init.el: * emulation/viper-ex.el: * emacs-lisp/bytecomp.el: * version.el: * subr.el: * startup.el: * sort.el: * shadowfile.el: * recentf.el: * printing.el: * paths.el: * minibuffer.el: * ls-lisp.el: * loadup.el: * hippie-exp.el: * finder.el: * files.el: * ediff-util.el: * ediff-ptch.el: * ediff-init.el: * ediff-diff.el: * dired.el: * dired-aux.el: * cus-edit.el: * bindings.el: * arc-mode.el: * add-log.el: Remove VMS support. * obsolete/vmsproc.el: * obsolete/vms-pmail.el: * obsolete/vms-patch.el: Remove file. * etags.c: * emacsclient.c: Remove VMS support. * termcap.src: Remove file. * README: * PROBLEMS: * MACHINES: Remove VMS info. * ediff.texi: Remove VMS support. * os.texi: * intro.texi: * files.texi: Remove VMS support. * emacs.texi: Remove VMS support. * make-dist: * README: Remove VMS support. * vms: Remove directory.
* (byte-compile-maybe-guarded): Doc fix.Glenn Morris2008-06-131-2/+2
|
* (byte-compile-current-group): New var.Stefan Monnier2008-06-081-7/+18
| | | | | (byte-compile-file): Initialize it. (byte-compile-nogroup-warn): Keep track of the current group.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (byte-compile-file): Doc fix.Glenn Morris2008-04-271-1/+1
|
* Johan Bockg� <bojohan at gnu.org>Glenn Morris2008-04-271-9/+3
| | | | | (byte-compile-find-cl-functions): Simplify. Collect `defun' and `autoload' entries. Avoid modifying load-history.
* (byte-compile-warn-obsolete): New function.Glenn Morris2008-04-261-23/+23
| | | | (byte-compile-obsolete, byte-compile-variable-ref): Use it.
* (byte-compile-warnings-safe-p): Use `byte-compile-warning-types'.Juanma Barranquero2008-03-311-5/+2
| | | | Add docstring.
* (byte-compile-obsolete): If no replacement is provided,Juanma Barranquero2008-03-261-4/+6
| | | | don't print "use nil instead".
* (byte-compile-maybe-guarded):Stefan Monnier2008-03-031-17/+1
| | | | Remove optimization that was working around the form-code-walker bug.
* This is Dan's patch fromGlenn Morris2008-03-011-98/+113
| | | | | | | | | http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-02/msg00134.html changed to use a common `bytecomp' prefix. (byte-recompile-directory, byte-compile-file, batch-byte-compile) (batch-byte-compile-file): Give a `bytecomp-' prefix to local variables with common names.
* (byte-compile-maybe-guarded): Restore code commented out 2007-11-10.Glenn Morris2008-03-011-4/+10
|
* (byte-compile-lapcode): UseKenichi Handa2008-02-121-1/+1
| | | | unibyte-string instead of string-make-unibyte.
* Merge from emacs--devo--0Miles Bader2008-01-091-48/+48
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312