| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
(byte-compile-form-make-variable-buffer-local): New functions to warn about
misuses of make-variable-buffer-local where make-local-variable was meant.
|
|
|
|
|
| |
(byte-compile-interactive-only-functions): Add `insert-buffer' and
`insert-file-literally'.
|
| |
|
| |
|
|
|
|
|
| |
(byte-compile-or): Use that.
(byte-compile-maybe-guarded): Handle (not (featurep 'emacs)).
|
|
|
|
| |
(byte-compile-and): Use byte-compile-and-recursion.
|
|
|
|
|
| |
off warnings in what it guards. Use unwind-protect to ensure
byte-compile-unresolved-functions is updated.
|
| |
|
| |
|
|
|
|
| |
or for defining the group `emacs'.
|
| |
|
|
|
|
|
|
|
|
| |
already deleted variables: auto-fill-hook, blink-paren-hook,
lisp-indent-hook, inhibit-local-variables, unread-command-event
suspend-hooks, comment-indent-hook, meta-flag,
before-change-function, after-change-function,
font-lock-doc-string-face.
|
|
|
|
| |
Call byte-compile-nogroup-warn if appropriate.
|
|
|
|
|
| |
(byte-compile-form): Call byte-compile-nogroup-warn.
(byte-compile-warning-types): Doc fix.
|
|
|
|
| |
bytecode symbols.
|
|
|
|
|
|
|
|
|
| |
Tweak obsolete function/variable warning message
2005-03-09 Miles Bader <miles@gnu.org>
* lisp/emacs-lisp/bytecomp.el (byte-compile-variable-ref)
(byte-compile-obsolete): Change " since VER" to " (as of Emacs VER)".
|
|
|
|
| |
Change development version from 21.3.50 to 22.0.50.
|
| |
|
|
|
|
| |
to avoid having two for the same symbol occurrence.
|
|
|
|
|
| |
(byte-compile-file-form-defalias): Rename from byte-compile-defalias.
(defalias): Remove the `byte-compile' property and add a `byte-hunk-handler'.
|
|
|
|
|
|
|
|
|
| |
Turn off warnings for the new function even ifdefinition not constant.
If the definition isn't a quoted symbol, record (FUNCTION . t).
(byte-compile-function-environment): Now allow (FUNCTION . t) as elt.
(byte-compile-callargs-warn): Handle (FUNCTION . t).
(display-call-tree, byte-compile-arglist-warn):
Handle t returned by byte-compile-fdefinition.
|
|
|
|
|
|
|
| |
(byte-compile-warnings): Add interactive-only as option.
(byte-compile-interactive-only-functions): New variable.
(byte-compile-form): Warn about calls to functions
in byte-compile-interactive-only-functions.
|
|
|
|
|
|
|
|
|
| |
"cl" like other files. Instead, call byte-compile-find-cl-functions.
(byte-compile-file-form-require): Detect "cl" from the arg value.
(byte-compile-log-1): Bind inhibit-read-only.
(byte-compile-warning-prefix, byte-compile-log-file): Likewise.
(byte-compile-log-warning): Likewise.
|
|
|
|
| |
(display-call-tree): Ensure newline after caller/calls blocks.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(byte-compile-log-1): Don't call (byte-goto-log-buffer).
Use with-current-buffer.
(byte-goto-log-buffer): Delete.
(byte-compile-log-file): Call compilation-forget-errors.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove RCS keywords
2004-04-10 Miles Bader <miles@gnu.org>
RCS keyword removal (only non-comment changes are enumerated here):
* lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
(byte-compile-insert-header): Don't use `byte-compile-version'.
* lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
instead of calculating something from the RCS `State' keyword
[the latter is almost entirely useless anyway].
* lisp/forms.el (forms-version): Variable removed.
(forms-mode): Don't use `forms-version'.
* lisp/recentf.el (recentf-version): Variable removed.
* lisp/progmodes/delphi.el (delphi-version): Variable removed.
* lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
|
|
|
|
| |
(byte-compile-file): Output warning when deleting a file.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(byte-compile-format-warn): New.
(byte-compile-callargs-warn): Use it.
(Format, message, error): Add byte-compile-format-like property.
(byte-compile-maybe-guarded): New.
(byte-compile-if, byte-compile-cond): Use it.
(byte-compile-lambda): Compile interactive forms, just to make
warnings about them.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix the condition for whether to print "In WHERE".
|
| |
|
|
|
|
|
|
|
|
|
| |
(byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
(byte-compile-defvar): Bind byte-compile-not-obsolete-var
to prevent warnings about defvar for an obsolete variable.
(byte-compile-log-warning):
warning-group-format renamed to warning-type-format.
|
|
|
|
| |
(byte-code-meter): Move declaration to top level.
|
|
|
|
| |
(with-no-warnings): Set up compile handler.
|
| |
|
| |
|
|
|
|
| |
from caaar & al.
|
| |
|
|
|
|
| |
unless byte-compile-compatibility.
|