Karl Heuer
5023d9a008
Fix text punctuation.
1995-01-09 23:10:10 +00:00
Richard M. Stallman
9290191f09
(byte-compile-warning-types): Add obsolete.
...
(byte-compile-warnings): Doc fix.
(byte-compile-obsolete): Check for obsolete in byte-compile-warnings.
(byte-compile-variable-ref): Likewise.
1994-12-26 01:28:59 +00:00
Richard M. Stallman
d82e848c34
(byte-compile-dest-file): New variable.
...
(byte-compile-file): Bind that var, early on.
(byte-compile-dynamic): New variable.
(byte-compile-dynamic-docstrings): New variable.
(byte-compile-close-variables): Bind byte-compile-dynamic,
byte-compile-dynamic-docstrings, and byte-compiler-compatibility.
(byte-compile-file): Call normal-mode, not set-auto-mode.
(byte-compile-output-docform): New arguments PREFACE, NAME, SPECINDEX,
QUOTED. Callers changed. Output doc strings as references to the .elc
file itself, using #@ and #$ constructs.
(byte-compile-output-as-comment): New function.
(byte-compile-insert-header): Don't save-excursion.
Insert at point, and move point. Insert extra newline at end.
(byte-compile-from-buffer): Insert the header before compilation.
1994-12-24 05:58:05 +00:00
Richard M. Stallman
b0bfea296d
(byte-compile-insert-header): Escape backslashes
...
in FILENAME when putting it inside a string constant.
1994-11-01 09:54:39 +00:00
Richard M. Stallman
2cd0169dc8
(byte-compile-file): Treat windows-nt like ms-dos.
1994-11-01 05:52:42 +00:00
Richard M. Stallman
34791302d4
(byte-compile-insert-header): Use user-mail-address.
1994-10-09 17:23:09 +00:00
Richard M. Stallman
285cdf4e20
(byte-compile-protect-from-advice): Macro deleted.
...
(byte-compile-from-buffer, byte-compile-top-level): Don't use it.
1994-08-04 21:47:55 +00:00
Richard M. Stallman
b3848c2851
(byte-compile-defalias): Fix typo in prev change.
1994-07-02 00:41:28 +00:00
Richard M. Stallman
5286a84274
(byte-compile-callargs-warn): Handle function defnition
...
that is not a lambda expression or byte code function.
(byte-compile-arglist-warn): Likewise.
(byte-compile-defalias): New function, used to compile defalias.
(byte-compile-defalias-warn): New function.
1994-06-29 18:06:09 +00:00
Karl Heuer
d733c5ec03
Update copyright.
1994-05-03 22:46:37 +00:00
Richard M. Stallman
3ea1f391da
(byte-compile-file): Use whole file name for errors.
1994-03-28 07:05:55 +00:00
Richard M. Stallman
d7846e0891
(byte-compile-track-mouse): Undo previous change,
...
but use byte-compile-top-level-body.
1994-03-10 17:22:59 +00:00
Richard M. Stallman
b3bbaa663d
(byte-compile-track-mouse): Handle >1 body form.
...
Generate code that binds track-mouse.
1994-03-05 23:27:51 +00:00
Richard M. Stallman
8a5dd08600
(byte-compile-insert-header): Take a filename argument.
...
(byte-compile-from-buffer): Change second argument to filename.
Always return outbuffer; never eval from it or kill it.
(byte-compile-file): Pass filename to byte-compile-from-buffer.
1994-03-04 04:03:46 +00:00
Richard M. Stallman
d9e42bcf36
(byte-compile-protect-from-advice): New macro that
...
temporarily deactivates advice of `defun/defmacro' while BODY is run.
(byte-compile-from-buffer, byte-compile-top-level): Use
`byte-compile-protect-from-advice' to protect compilation.
1994-02-25 00:54:15 +00:00
Karl Heuer
a2bb8f73f2
(byte-compile-file): Return nil on failure.
1994-02-23 19:17:57 +00:00
Richard M. Stallman
2abcddce3b
(byte-compile-condition-case): Disable warning about
...
symbol not naming a condition. Allow a list of condition names.
1994-01-11 07:21:47 +00:00
Richard M. Stallman
e3c72369df
[ms-dos] (byte-compile-file): Save as binary.
1994-01-06 04:31:20 +00:00
Richard M. Stallman
3785d1c8a8
Comment fix.
1994-01-04 01:41:34 +00:00
Richard M. Stallman
200503bb06
Provide bytecomp as well as byte-compile.
1993-12-25 00:32:37 +00:00
Richard M. Stallman
e9681c45f9
(byte-compile-dest-file): If FILENAME is not recognized, append .elc to it.
...
(byte-recompile-directory): Don't treat symlinks as dirs.
(batch-byte-recompile-directory): Add autoload cookie.
1993-12-23 03:37:27 +00:00
Richard M. Stallman
b0787891e7
(byte-compile-from-buffer): Set float-output-format to
...
nil, not "%.20e", since nil is guaranteed to not lose info on output.
1993-08-11 06:39:21 +00:00
Paul Eggert
46780baeeb
mod' is no longer an alias for
%'.
1993-08-10 04:14:17 +00:00
Richard M. Stallman
47082fcd1b
(byte-recompile-directory): At end of compiling a file,
...
put back the "Checking DIR..." message.
1993-08-02 04:47:30 +00:00
Richard M. Stallman
691e7e7635
(byte-recompile-directory): Doc fix.
1993-07-27 22:49:27 +00:00
Jim Blandy
42106ea549
* bytecomp.el (byte-compile-from-buffer): Bind float-output-format
...
to "%.20e", not "%20e"; the latter is always ignored, since it
doesn't have a decimal point after the percent sign.
1993-07-18 06:18:45 +00:00
Richard M. Stallman
ce3be3d531
(byte-compile-file-form-defmumble): Undo previous change.
...
It turns out the second arg was put in by mistake in the first place.
1993-07-09 06:53:42 +00:00
Richard M. Stallman
ca38179a74
(byte-compile-setq-default):
...
Generate a progn of calls to set-default, then compile it.
(byte-compile-file-form-defmumble): Put back second arg of
byte-compile-keep-pending, accidentally deleted before.
1993-07-09 06:33:05 +00:00
Roland McGrath
8ccc377f96
(byte-compile-setq-default): Handle multiple pairs args like setq (as
...
the setq-default subr does).
1993-07-07 03:06:28 +00:00
Richard M. Stallman
b4ff4a23cb
(byte-compile-keep-pending): Handle fset like defalias.
...
(byte-compile-file-form-defmumble): Fix backward if in prev change.
1993-07-02 17:46:43 +00:00
Richard M. Stallman
f4e90b7615
(byte-compile-file-form-defmumble):
...
If byte-compile-compatibility, use fset, not defalias.
1993-07-01 22:13:28 +00:00
Richard M. Stallman
b44b7ab002
(byte-compile-file-form-defmumble): Typo in prev change.
1993-06-16 17:42:48 +00:00
Richard M. Stallman
e13b624a0f
(byte-compile-file-form-defmumble): Use defalias
...
for named function, even if no doc string.
1993-06-15 19:29:59 +00:00
Richard M. Stallman
79c6071d22
(byte-compile-file): Undo previous change.
...
(batch-byte-recompile-directory): Doc fix.
1993-06-13 22:32:17 +00:00
Jim Blandy
e27c3564f2
* bytecomp.el: Bring it up to version 2.10 of the
...
Zawinski-Furuseth compiler. Changes from David Gillespie.
1993-06-11 16:19:49 +00:00
Jim Blandy
eb8c3be94e
Apply typo patches from Paul Eggert.
1993-06-09 11:59:12 +00:00
Richard M. Stallman
e237de5cfd
(byte-compile-insert-header): Fix backwards test
...
of byte-compile-compatibility.
1993-06-03 18:35:28 +00:00
Richard M. Stallman
189db15290
(byte-compile-file): Don't write output if error.
1993-05-18 03:32:00 +00:00
Richard M. Stallman
c76f206519
(byte-compile-file): Don't write output if error.
1993-05-18 02:30:21 +00:00
Richard M. Stallman
6e8d0db7e2
(byte-compile-track-mouse): New function.
...
This is a kludge; track-mouse must be compiled better.
1993-05-15 19:47:15 +00:00
Roland McGrath
0dea0bbe34
(byte-recompile-directory): If ARG is non-nil, set it to its prefix
...
numeric value. Test for ARG being zero with eq, not zerop.
1993-05-10 00:49:06 +00:00
Jim Blandy
f33419002e
* bytecomp.el (meta-flag): Declare this an obsolete variable.
...
* bytecomp.el: The `suspend-hooks' variable is obsolete now, and
`suspend-hook' is the right name.
1993-05-03 03:34:20 +00:00
Eric S. Raymond
c36881cfa6
(define-function): Changed name back to defalisaases to get things in
...
a known-good state.
1993-04-23 03:43:33 +00:00
Richard M. Stallman
6101b31fb0
(byte-compile, byte-compile-keep-pending)
...
(byte-compile-file-form-defmumble): Generate define-function
rather than fset, to install definitions for defun, defmacro, etc.
1993-04-17 01:26:24 +00:00
Eric S. Raymond
e41b2db1da
Added or corrected Commentary sections
1993-03-22 03:27:18 +00:00
Jim Blandy
ec9a76e3d1
* simple.el (comment-indent-function): New variable, intended to
...
replace comment-indent-hook.
(comment-indent-hook): Make this default to nil now.
(indent-for-comment): If comment-indent-hook is non-nil, call it
for backward compatibility; otherwise, call
comment-indent-function.
* bytecomp.el: Declare comment-indent-hook an obsolete variable.
1993-03-21 07:04:44 +00:00
Jim Blandy
2e94b81346
Doc fix.
1993-03-16 18:36:27 +00:00
Jim Blandy
1db01b1ab5
* bytecomp.el (byte-compile-from-buffer): Put buffer containing
...
compiled code in binary overwrite mode.
1993-03-16 18:35:04 +00:00
Jim Blandy
be8320a764
* bytecomp.el: Declare suspend-hook to be an obsolete variable.
1993-03-11 07:02:11 +00:00
Jim Blandy
1de6a9711d
Removed assigment to foo in byte-compile-lambda.
1993-02-23 13:21:13 +00:00