| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
| |
Turn error for repeated variables into warning.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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): 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.
|
|
|
|
| |
hard-links don't see new version.
|
| |
|
|
|
|
|
| |
same definition in byte-compile-function-environment as `autoload'
would put in `symbol-function'.
|
|
|
|
| |
or the date here, because they are logged at the start of the file.
|
| |
|
|
|
|
|
| |
it, so that a boundp test can be used to determine if we're
currently byte-compiling.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
current-load-list in top-level forms. Else this leaks a cons cell
every time a defun is called.
|
|
|
|
|
| |
because it breaks '(make-variable-buffer-local (defvar ...)'
which is used at least in dired.
|
|
|
|
|
| |
current-load-list in top-level forms. Else this leaks a cons cell
every time a defun is called.
|
| |
|
|
|
|
|
| |
Compiler macro removed; beginning-of-line is no longer always
equivalent to forward-line, in the presence of fields.
|
|
|
|
| |
any multibyte characters.
|
|
|
|
|
|
|
|
|
| |
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-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): Update
byte-compile-function-environment.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(byte-extrude-byte-code-vectors): Use remprop.
(byte-compile-lambda): Check that arg is a lambda.
|
|
|
|
| |
and bind print-gensym in the old way for compatibility.
|
|
|
|
| |
print-number-table.
|
|
|
|
| |
system used is raw-text, etc., make the *Compiler Input* buffer unibyte.
|
| |
|
| |
|
|
|
|
| |
Print message about each directory, even in batch mode.
|
| |
|
|
|
|
|
| |
Calculate the total bytes using position-bytes instead of
char-bytes.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use `other' widget type.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|