| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
shares structure with the arg list.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Decide here whether to print which form we're compiling.
If we do that, still print file and line. Make file name
relative to default-directory. Print fewer newlines.
(byte-compile-log-file): Print something even if no file.
Print messages for entering and leaving directories,
and set default-directory.
(displaying-byte-compile-warnings): Only sometimes bind warning-series.
(byte-compile-warning-series): New function.
(byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
(byte-compile-display-log-head-p): Function deleted.
|
|
|
|
|
| |
(byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
to don't-warn list.
|
|
|
|
| |
Check that (car elt) is a string.
|
|
|
|
| |
(byte-compile-delete-first): Make it defsubst.
|
|
|
|
|
|
|
| |
(byte-compile-cl-warn): Use that variable.
(byte-compile-find-cl-functions): New function.
(displaying-byte-compile-warnings):
Call byte-compile-find-cl-functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(byte-compile-warning-prefix): New function.
(byte-compile-log-file): Return page start position.
(byte-compile-log-warning): New function.
(byte-compile-warn): Use byte-compile-log-warning.
(byte-compile-report-error): Likewise. Also use error-message-string.
(displaying-byte-compile-warnings): Bind warning-series.
Don't bind or use byte-compile-warnings-point-max.
Don't display the log buffer at the end.
(byte-compile-warnings-point-max): Variable deleted.
(byte-compile-log-1): Rewrite for trace info, not used for warnings.
(byte-compile-last-warned-form, byte-compile-last-logged-file):
Defvars moved.
|
|
|
|
|
|
| |
and `values-list' from list of CL functions.
(compile-defun): Bind `read-with-symbol-positions' to current buffer.
|
|
|
|
| |
post-command-idle-delay): Move obsolescence declarations to subr.el.
|
|
|
|
|
| |
compiled-function-p, define-function): Move obsolescence declarations to
subr.el.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename cl-func to cl-functions. Enable it by default.
(byte-compile-file-form-eval-boundary):
Turn off cl-functions warnings if the file loads cl.
(byte-compile-initial-macro-environment): For eval-and-compile,
use byte-compile-eval-before-compile to eval.
(byte-compile-eval-before-compile): New function to turn off
cl-functions when appropriate, for eval-and-compile.
(byte-compile-warnings): Add cl-func option.
(byte-compile-cl-warn): New function.
(byte-compile-form): Use it, to warn about calling cl functions.
|
|
|
|
| |
(meta-flag): Likewise.
|
|
|
|
|
|
| |
Check for `noruntime' even if the function has a known sig.
(byte-compile-file, byte-compile-output-docform):
Don't hard code point-min = 1.
|
|
|
|
| |
(batch-byte-recompile-directory): Undo previous change.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(byte-compile-delete-first): New function.
(byte-compile-read-position): New variable.
(byte-compile-last-position): New variable.
(byte-compile-current-buffer): New variable.
(byte-compile-log-1): Use it.
(byte-compile-set-symbol-position): New function.
(byte-compile-obsolete, byte-compile-callargs-warn)
(byte-compile-arglist-warn, byte-compile-arglist-warn)
(byte-compile-print-syms, byte-compile-file-form-defmumble)
(byte-compile-check-lambda-list, byte-compile-lambda)
(byte-compile-form, byte-compile-variable-ref)
(byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
(byte-compile-condition-case, byte-compile-defun)
(byte-compile-defvar, byte-compile-autoload)
(byte-compile-lambda-form): Use it.
(byte-compile-from-buffer): Set it, and bind
`read-with-symbol-positions' and `read-symbol-positions-list'.
(byte-compile-debug): New variable.
|
|
|
|
| |
Handle declarations in macro definitions.
|
| |
|
|
|
|
| |
(batch-byte-compile-if-not-done): New function.
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|