summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
Commit message (Collapse)AuthorAgeFilesLines
* (byte-compile-call-tree, byte-code-vector)Stefan Monnier2001-11-171-10/+17
| | | | | | | | (byte-stack+-info, byte-compile-last-warned-form) (byte-compile-last-logged-file): Don't defconst a variable. (no-byte-compile): Declare. (byte-compile-file): Don't boundp-check no-byte-compile any more. (byte-compile-defvar): Leave defconst as is.
* (byte-recompile-directory): Report numbers of files skipped and failed too.Sam Steingold2001-10-291-17/+24
|
* Put the *Compile-Log* buffer in `compilation-mode'.Sam Steingold2001-10-181-18/+20
|
* (byte-compile-check-lambda-list):Gerd Moellmann2001-10-121-2/+2
| | | | Turn error for repeated variables into warning.
* (byte-compile-check-lambda-list): NewGerd Moellmann2001-10-121-1/+28
| | | | | | | | function checking that lambda-list consists of non-constant symbols, that &rest and &optional are followed by variable names, that &rest VAR is the last element, and that variables aren't doubled. (byte-compile-lambda): Use it.
* (byte-compile-display-log-head-p): NewGerd Moellmann2001-10-111-104/+95
| | | | | | | | | | | | | function extracted from byte-compile-log-1. (byte-compile-log-1): Change output to be more in line with the output of other GNU tools. (byte-compile-warn): Emit `warning' instead of `**' for warnings. (byte-compile-report-error): Downcase error message. Use `error' instead of `!!' for error messages. (byte-compile-print-syms): Treat non-interactive case specially. (displaying-byte-compile-warnings): Use backquote. (byte-compile-from-buffer): Bind byte-compile-last-line. (batch-byte-compile): Remove `Done' message.
* (byte-compile-file): Return success when the file says no-byte-compile.Stefan Monnier2001-10-071-48/+48
|
* (byte-recompile-directory): Make sure the file is readable.Gerd Moellmann2001-10-051-60/+71
| | | | | | (byte-compile-file): Don't compile if `no-byte-compile' is set. (byte-compile-defvar): Update to reflect the change in Fdefvar. (batch-byte-recompile-directory): Pass arg=0.
* (byte-compile-file): Remove TARGET-FILE before writing it, so thatMiles Bader2001-08-211-2/+9
| | | | hard-links don't see new version.
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-2/+2
|
* (byte-compile-file-form-autoload): Use theStefan Monnier2001-05-271-6/+6
| | | | | same definition in byte-compile-function-environment as `autoload' would put in `symbol-function'.
* (byte-compile-log-1): In non-batch case, don't mention the file nameRichard M. Stallman2001-01-081-9/+15
| | | | or the date here, because they are logged at the start of the file.
* (byte-compiling-files-p): New function.Gerd Moellmann2000-11-091-4/+2
|
* (byte-compile-current-file): Don't bindGerd Moellmann2000-11-091-2/+4
| | | | | it, so that a boundp test can be used to determine if we're currently byte-compiling.
* (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.Miles Bader2000-10-231-1/+2
|
* [the following changes fix a bug where `define-minor-mode' didn'tMiles Bader2000-10-231-6/+13
| | | | | | | | | | | | correctly generate :require clauses for defcustoms in compiled files] (byte-compile-last-logged-file): New variable. (byte-compile-log-file, byte-compile-log-1): Don't set `byte-compile-current-file' to nil. Instead set `byte-compile-last-logged-file' to it. Test whether byte-compile-current-file equals byte-compile-last-logged-file instead of whether its nil.
* (byte-compile-defvar-or-defconst): Only cons ontoGerd Moellmann2000-09-251-18/+27
| | | | | current-load-list in top-level forms. Else this leaks a cons cell every time a defun is called.
* Undo last changeGerd Moellmann2000-09-121-10/+13
| | | | | because it breaks '(make-variable-buffer-local (defvar ...)' which is used at least in dired.
* (byte-compile-defvar): Only cons ontoGerd Moellmann2000-09-111-14/+11
| | | | | current-load-list in top-level forms. Else this leaks a cons cell every time a defun is called.
* (mapc): Use byte-compile-funarg.Dave Love2000-08-271-1/+2
|
* (byte-compile-beginning-of-line):Miles Bader2000-08-191-15/+1
| | | | | Compiler macro removed; beginning-of-line is no longer always equivalent to forward-line, in the presence of fields.
* (byte-compile-fix-header): Fix the way of checking the existence ofKenichi Handa2000-08-071-3/+1
| | | | any multibyte characters.
* * byte-run.el (make-obsolete, make-obsolete-variable):Stefan Monnier2000-06-011-35/+45
| | | | | | | | | Add an optional WHEN argument and change the format of the symbol-property information. * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda. (byte-compile-obsolete, byte-compile-variable-ref): Understand the new obsolete-symbol-property format and print WHEN if it is provided. (make-obsolete): Update the calls to use the third argument.
* (byte-compile-callargs-warn): Use subr-arity to check primitives.Dave Love2000-05-261-16/+24
| | | | | | | (byte-compile-flush-pending, byte-compile-file-form-progn) (byte-compile-normal-call, byte-compile-list, byte-compile-concat) (byte-compile-insert, byte-compile-funcall): Use mapc instead of mapcar.
* (byte-compile-file-form-autoload): Re-enable new code.Gerd Moellmann2000-03-311-2/+2
|
* (byte-compile-file-form-autoload): Disable new code.Gerd Moellmann2000-03-301-2/+2
|
* Doc fixes.Dave Love2000-03-291-22/+30
| | | | | (byte-compile-file-form-autoload): Update byte-compile-function-environment.
* (byte-compile-eval): Fix and reenable the code.Stefan Monnier2000-03-261-12/+19
|
* (byte-compile-eval): Disable new code.Gerd Moellmann2000-03-241-2/+2
|
* (byte-compile-warning-types, byte-compile-warnings): New warning `noruntime'.Stefan Monnier2000-03-241-31/+76
| | | | | | | | | | | | | | (byte-compile-constants, byte-compile-variables): Fix docstring. (byte-compile-initial-macro-environment): Use `byte-compile-eval' to execute `eval-whenc-compile's body. (byte-compile-unresolved-functions): Fix docstring. (byte-compile-eval): New function. (byte-compile-callargs-warn): Check if the function will be available at runtime (via property `byte-compile-noruntime'). (byte-compile-print-syms): New function. (byte-compile-warn-about-unresolved-functions): Also warn about `noruntime' functions (and use `byte-compile-print-syms'). (byte-compile-file): Capitalize the message.
* Change old backquote syntax.Dave Love2000-02-231-20/+24
| | | | | | | (byte-compile-const-symbol-p): New function. (byte-compile-constp, byte-compile-out-toplevel) (byte-compile-form, byte-compile-form, byte-compile-variable-ref): Use it.
* Run bytecomp-load-hook.Dave Love2000-02-021-1/+3
|
* (byte-extrude-byte-code-vectors): Use remprop.Dave Love2000-01-061-3/+3
|
* (byte-compile-constp): Include keywords.Dave Love1999-12-181-0/+1
|
* (byte-compile-bound-variables): Doc fix.Dave Love1999-12-161-9/+12
| | | | | (byte-extrude-byte-code-vectors): Use remprop. (byte-compile-lambda): Check that arg is a lambda.
* (byte-compile-output-docform): Bind print-gensym-alist for compatibility,Richard M. Stallman1999-09-111-2/+8
| | | | and bind print-gensym in the old way for compatibility.
* (byte-compile-output-docform): Bind print-continuous-numbering andRichard M. Stallman1999-09-111-6/+4
| | | | print-number-table.
* (byte-compile-file): Clear buffer-file-coding-system. If the codingRichard M. Stallman1999-04-061-2/+10
| | | | system used is raw-text, etc., make the *Compiler Input* buffer unibyte.
* (byte-compile-warnings): Doc fix.Dave Love1999-01-071-4/+2
|
* (temp-buffer-show-hook): This is not obsolete.Richard M. Stallman1998-11-181-3/+1
|
* (byte-recompile-directory):Richard M. Stallman1998-10-171-7/+7
| | | | Print message about each directory, even in batch mode.
* (byte-compile-dynamic): Doc fix.Richard M. Stallman1998-09-281-2/+3
|
* (byte-compile-output-as-comment):Kenichi Handa1998-08-281-9/+4
| | | | | Calculate the total bytes using position-bytes instead of char-bytes.
* Whitespace change.Richard M. Stallman1998-08-181-5/+5
|
* (byte-compile-from-buffer): Make the output buffer multibyte.Richard M. Stallman1998-08-051-1/+2
|
* (byte-compile-file): Bind set-auto-coding-for-load to t.Richard M. Stallman1998-07-051-1/+2
|
* (byte-compile-generate-call-tree):Andreas Schwab1998-06-241-2/+2
| | | | Use `other' widget type.
* (byte-compile-lambda): Fix previous change.Karl Heuer1998-06-041-2/+2
|
* (byte-compile-insert-header): Do not look for multibyte characters here.Richard M. Stallman1998-05-191-31/+67
| | | | | | | | | Generate the right file header for use if there are none. Insert a line of semicolons for subsequent deletion if needed. (byte-compile-fix-header): New function. This updates the file header if the file uses multibyte characters. (byte-compile-from-buffer): Call byte-compile-insert-header before compiling, and byte-compile-fix-header at the end.
* (byte-compile-insert-header): Fix prev chg.Richard M. Stallman1998-05-131-2/+2
|