Miles Bader
f195388009
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-167
...
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)".
2005-03-09 10:16:02 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
4db985039f
Comment change.
2004-12-21 11:50:52 +00:00
Richard M. Stallman
0b46acbff5
(byte-compile-form): Move the calls to byte-compile-set-symbol-position,
...
to avoid having two for the same symbol occurrence.
2004-11-21 00:47:13 +00:00
Stefan Monnier
977b50fb12
Use push.
...
(byte-compile-file-form-defalias): Rename from byte-compile-defalias.
(defalias): Remove the `byte-compile' property and add a `byte-hunk-handler'.
2004-11-11 22:44:46 +00:00
Richard M. Stallman
a7a7ddf104
(byte-compile-defalias):
...
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.
2004-11-09 10:33:23 +00:00
Richard M. Stallman
086af77cf5
(byte-compile-warning-types): Add interactive-only.
...
(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.
2004-11-02 09:22:16 +00:00
Richard M. Stallman
997011eb62
(byte-compile-eval): Don't process
...
"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.
2004-10-16 15:20:24 +00:00
Thien-Thi Nguyen
78bba1c8dd
(byte-compile-generate-call-tree): Doc fix.
...
(display-call-tree): Ensure newline after caller/calls blocks.
2004-09-08 12:04:22 +00:00
John Paul Wallington
78642e03de
(forward-word): Allow 0 args.
2004-08-14 10:01:55 +00:00
Richard M. Stallman
1d5c17c0d3
Put `...' around symbols in warning messages.
2004-06-13 22:01:36 +00:00
Stefan Monnier
b88a41d006
(byte-compile-log): Use backquotes.
...
(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.
2004-05-19 18:53:13 +00:00
Stefan Monnier
6f8e359068
(batch-byte-recompile-directory): Add byte-recompile-directory's opt `arg'.
2004-04-21 22:34:27 +00:00
Richard M. Stallman
a4f6653194
Fix previous change.
2004-04-21 19:13:00 +00:00
Richard M. Stallman
0a0eb031ad
(byte-compile-no-warnings): Handle multiple args: compile like progn.
2004-04-21 19:12:04 +00:00
Stefan Monnier
a080ff233c
(batch-byte-compile-file): Give a backtrace if requested.
2004-04-14 20:43:45 +00:00
Stefan Monnier
7d0e09557f
(byte-compile-cond): Fix last change.
2004-04-12 03:11:10 +00:00
Miles Bader
1f3ddf11e8
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
...
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.
2004-04-10 05:55:49 +00:00
Stefan Monnier
b122f3fb5a
(byte-recompile-directory): Ignore hidden dir.
...
(byte-compile-file): Output warning when deleting a file.
2004-03-22 15:23:59 +00:00
Richard M. Stallman
8de4476933
(byte-compile-get-constant): For strings, do compare text properties.
2004-03-12 10:09:59 +00:00
Richard M. Stallman
ab43c85050
(byte-compile-compatibility): Doc fix.
...
(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.
2004-01-29 17:58:16 +00:00
Luc Teirlinck
9a7268cf3a
*** empty log message ***
2004-01-13 00:24:12 +00:00
Luc Teirlinck
7618fe8e02
(compile-defun): Doc fix.
2004-01-12 23:28:29 +00:00
Richard M. Stallman
9dbd7d6674
(byte-compile-log-file): Clear out byte-compile-last-warned-form.
2003-09-22 15:16:10 +00:00
Richard M. Stallman
2c0696b144
(byte-compile-warning-prefix):
...
Fix the condition for whether to print "In WHERE".
2003-09-19 14:29:42 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
9e31e67b6f
(byte-compile-not-obsolete-var): New var.
...
(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.
2003-08-06 01:08:21 +00:00
Stefan Monnier
08d21785c8
(byte-compile-defvar): Check and set the default value of the variable.
...
(byte-code-meter): Move declaration to top level.
2003-07-04 23:47:48 +00:00
Richard M. Stallman
3c9dc1cf0d
(byte-compile-no-warnings): New function.
...
(with-no-warnings): Set up compile handler.
2003-05-28 11:26:45 +00:00
Kenichi Handa
844da0ff4c
(byte-compile-file): Fix comment
2003-05-06 05:10:59 +00:00
John Paul Wallington
6640c250eb
(byte-compile-cl-warn): Use `string-match'.
2003-04-29 02:56:25 +00:00
Dave Love
118861dfa8
(byte-compile-cl-warn): Avoid cl warnings
...
from caaar & al.
2003-04-28 22:05:17 +00:00
Richard M. Stallman
a81edd91e0
Comment change.
2003-04-24 01:52:37 +00:00
Richard M. Stallman
d8c9125887
(byte-compile-defun): Generate and compile a defalias form,
...
unless byte-compile-compatibility.
2003-04-24 01:51:54 +00:00
Stefan Monnier
d0e07261a2
(byte-compile-defvar): Improve message.
2003-04-21 15:48:28 +00:00
Richard M. Stallman
977f31f883
(byte-compile-log-file, (byte-recompile-directory): Don't use
...
byte-goto-log-buffer. Instead, set default-directory and then call
compilation-mode.
(byte-compile-from-buffer): Force byte-compile-last-position
to end of buffer before issuing final warnings.
2003-04-19 04:18:37 +00:00
Stefan Monnier
582a857ccc
(byte-compile-const-symbol-p): Rename arg.
2003-04-16 20:10:33 +00:00
Stefan Monnier
8898f44ea6
(byte-compile-file-form-defvar, byte-compile-defvar):
...
Fix last commit which mistakenly relied on not-yet committed code.
2003-04-12 21:39:50 +00:00
Stefan Monnier
6c2161c427
Use push, with-current-buffer, dolist, ...
...
(byte-compile-const-variables): New var.
(byte-compile-close-variables): Reset it.
(byte-compile-file-form-defvar, byte-compile-defvar): Update it.
(byte-compile-const-symbol-p): Now arg `value' to check defconsts.
(byte-compile-variable-ref): Use it and improve warning message.
(byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
(byte-compile-lapcode): Remove unused vars.
(byte-compile-eval): Fix thinko in handling of old-autoloads.
(byte-recompile-directory): Use the expanded form for directory.
(byte-compile-track-mouse): Use modern backquote syntax.
(byte-compile-defvar): Detect and properly handle (defconst a).
(byte-compile-defalias-warn): Remove unused arg `alias'.
(byte-compile-defalias): Update call.
2003-04-12 20:28:10 +00:00
Richard M. Stallman
f1b1a9f2b4
Comment change.
2003-02-17 07:54:27 +00:00
Richard M. Stallman
347a36bc5b
(byte-compile-file-form-custom-declare-variable):
...
Compile any lambda-expressions among the args.
2003-01-25 19:44:24 +00:00
Dave Love
b8234c844c
(byte-compile-if): Suppress warnings from
...
things protected by `(if (fboundp ...' or `(if (boundp ...'.
2002-12-12 20:27:43 +00:00
Richard M. Stallman
d1a57439f1
(byte-compile-eval): Handle (t . SYMBOL) elements in load-history.
...
(byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
and cl-struct-setf-expander.
2002-12-07 21:33:19 +00:00
Dave Love
def9389aaa
(maphash, map-char-table): Use
...
byte-compile-funarg.
2002-11-19 18:02:07 +00:00
Richard M. Stallman
ab8bc7178c
(byte-compile-lambda): Handle progn like let, inside interactive spec.
2002-11-06 05:07:04 +00:00
Juanma Barranquero
6b8c2efcd6
Fix typo.
2002-10-17 15:32:26 +00:00
Richard M. Stallman
2b25de040f
(byte-compile-output-docform): Don't make the definition dynamic if it
...
shares structure with the arg list.
2002-09-18 16:02:49 +00:00
Stefan Monnier
4f6d5bf009
(byte-compile-file): Don't switch buffer.
2002-09-09 21:41:34 +00:00
Richard M. Stallman
4eb4926c58
(byte-recompile-directory): Set and then bind default-directory.
2002-09-09 19:35:57 +00:00
Richard M. Stallman
cd91e34cb4
(byte-compile-delete-errors): Default to nil.
2002-09-09 00:28:38 +00:00