Stefan Monnier
e0b4be6cc0
(byte-compile-form): The `byte-compile'
...
property may contain an anonymous function rather than a symbol.
2006-07-07 16:34:44 +00:00
Reiner Steib
0027258d1e
(byte-compile-warnings-safe-p): New
...
function.
(byte-compile-warnings): Fix safe-local-variable property.
2006-05-16 10:05:09 +00:00
Reiner Steib
631c8020a5
Move `safe-local-variable' declarations to the respective files.
2006-05-11 15:01:41 +00:00
Richard M. Stallman
aa9addfa93
(byte-compile-file): Bind enable-local-variables to :safe,
...
and make normal-mode obey it.
2006-04-11 17:58:58 +00:00
Stefan Monnier
67438f773f
(byte-compile-form): Only call cl-byte-compile-compiler-macro if it exists.
2006-04-08 14:56:21 +00:00
Eli Zaretskii
defe3b4124
(batch-byte-recompile-directory): Doc fix.
2006-01-13 09:56:23 +00:00
Stefan Monnier
b7a5a20839
(byte-compile-file-form-defalias):
...
Optimize the body of a defalias like any other code.
2006-01-03 18:35:58 +00:00
Lars Hansen
4ec5239cc9
(byte-compile-lambda): Add parameter add-lambda.
...
(byte-compile-file-form-defmumble, byte-compile-defun, byte-compile-defmacro): Use it.
(byte-compile-form): Don't call byte-compile-set-symbol-position when a byte-compile
handler is called.
2005-10-23 07:33:45 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Stefan Monnier
01e4a4fa03
(byte-compile-make-variable-buffer-local)
...
(byte-compile-form-make-variable-buffer-local): New functions to warn about
misuses of make-variable-buffer-local where make-local-variable was meant.
2005-07-29 19:54:18 +00:00
Juanma Barranquero
b2e948ee15
(byte-compile-maybe-guarded): Fix typo in docstring.
...
(byte-compile-interactive-only-functions): Add `insert-buffer' and
`insert-file-literally'.
2005-07-16 21:17:10 +00:00
Richard M. Stallman
ad50a502a1
(byte-compile-maybe-guarded): Doc fix.
2005-07-16 19:04:57 +00:00
Richard M. Stallman
300f994a93
(byte-compile-if): Guard the else-clause too.
2005-07-16 18:39:14 +00:00
Richard M. Stallman
83b0af6e4f
(byte-compile-or-recursion): New function.
...
(byte-compile-or): Use that.
(byte-compile-maybe-guarded): Handle (not (featurep 'emacs)).
2005-07-16 18:27:25 +00:00
Richard M. Stallman
8877fa6fb3
(byte-compile-and-recursion): New function.
...
(byte-compile-and): Use byte-compile-and-recursion.
2005-07-16 18:02:07 +00:00
Richard M. Stallman
82a726b4ee
(byte-compile-maybe-guarded): Check for (featurep 'xemacs) and turn
...
off warnings in what it guards. Use unwind-protect to ensure
byte-compile-unresolved-functions is updated.
2005-07-08 22:49:47 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Juanma Barranquero
25d1fc94f9
(bytecomp): Finish `defgroup' description with period.
2005-07-04 02:41:08 +00:00
Richard M. Stallman
019472f486
(byte-compile-nogroup-warn): Don't warn when name is not constant
...
or for defining the group `emacs'.
2005-07-03 16:17:11 +00:00
Richard M. Stallman
cbd87c94ac
(byte-compile-nogroup-warn): Warn only when name to be defined is quoted.
2005-05-30 06:49:18 +00:00
Nick Roberts
8449720ce4
Remove make-obsolete-variable for
...
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.
2005-05-22 02:30:41 +00:00
Richard M. Stallman
fe33e7c83c
(byte-compile-file-form-custom-declare-variable):
...
Call byte-compile-nogroup-warn if appropriate.
2005-05-19 15:39:21 +00:00
Richard M. Stallman
11efeb9b26
(byte-compile-nogroup-warn): New function.
...
(byte-compile-form): Call byte-compile-nogroup-warn.
(byte-compile-warning-types): Doc fix.
2005-05-14 12:30:08 +00:00
Nick Roberts
35bfeac0e5
(dot, dot-min, dot-max): Don't create
...
bytecode symbols.
2005-05-01 13:28:55 +00:00
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