Kenichi Handa
95aeae460a
(byte-compile-file): Bind coding-system-for-write
...
instead of coding-system-for-read to 'no-conversion to disbale
code convertion by write-region.
1997-02-26 11:59:40 +00:00
Karl Heuer
b8575ac32e
(byte-compile-file): Write a compiled file without
...
any code conversion.
1997-02-20 05:40:01 +00:00
Richard M. Stallman
cd891e6848
(byte-compile-file): Set default-directory in compiler input buffer.
1996-12-30 18:52:14 +00:00
Karl Heuer
7bb250dacc
(byte-compile-insert-header): Fix previous change.
1996-12-11 01:29:00 +00:00
Richard M. Stallman
666ef0083b
(byte-compile-insert-header): If emacs-version
...
ends with a letter, don't check the version number.
1996-12-07 20:34:15 +00:00
Richard M. Stallman
1814e5a971
(define-function): Mark it as obsolete.
1996-10-12 23:54:12 +00:00
Richard M. Stallman
f3e472b0b7
(save-current-buffer): Compile it like save-excursion.
...
(byte-compile-save-current-buffer): New function.
1996-09-22 04:37:55 +00:00
Richard M. Stallman
d8f59f561a
(byte-compile-lambda): If the doc string is also the
...
return value, use it for both.
1996-09-17 19:01:09 +00:00
Erik Naggum
77308fd7ec
(byte-compile-output-file-form): Bind print-quoted and print-gensym to t
...
when writing compiled byte-code objects.
(byte-compile-output-docform): Likewise.
1996-09-10 23:00:29 +00:00
Richard M. Stallman
469414a00a
(byte-compile-out-toplevel): Undo previous change.
...
(byte-compile-byte-code-maker): Undo previous change.
1996-09-10 19:22:12 +00:00
Richard M. Stallman
10809e0f11
(byte-compile-associative): Treat one arg case like (+ x 0).
1996-08-29 06:20:21 +00:00
Richard M. Stallman
b26e6764f0
(byte-compile-out-toplevel): Always compile to byte code
...
if an uninterned symbol appears.
(byte-compile-byte-code-maker): Handle uninterned symbols
in the constant vector.
1996-08-28 22:40:09 +00:00
Richard M. Stallman
5a6037bb41
(byte-compile-funarg-2): New function,
...
(sort): Use byte-compile-funarg-2.
1996-08-28 21:33:50 +00:00
Richard M. Stallman
fd20f0150d
(byte-compile-insert-header): Fix previous change.
1996-08-26 14:46:44 +00:00
Richard M. Stallman
5f17a95a2f
(byte-compile-insert-header):
...
Edit byte-compile-version to extract just the version number.
1996-08-25 23:18:39 +00:00
Richard M. Stallman
c4fb6a3cd6
(byte-compile-version): Use $Revision, not $Id.
1996-08-25 23:14:30 +00:00
Richard M. Stallman
1e09850419
(byte-compile-insert-header): Clean up syntax
...
(byte-compile-version): Use the RCS version number.
1996-08-25 23:11:07 +00:00
Richard M. Stallman
ed16b6f28a
(post-command-idle-hook, post-command-idle-delay): Mark obsolete.
1996-03-06 06:10:02 +00:00
Karl Heuer
7e0846530a
(byte-compile-log-1): Delete format call inside message.
1996-01-29 21:09:23 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4
Comment fixes.
1996-01-05 22:21:28 +00:00
Karl Heuer
393ae6ec84
(byte-compile-output-docform): Don't do dynamic doc
...
strings if byte-compile-compatibility.
1995-12-21 17:33:20 +00:00
Richard M. Stallman
c0f43df5ae
(byte-compile-associative): Do operations left to right.
...
(byte-force-recompile): Improve the prompt.
1995-11-10 17:16:57 +00:00
Simon Marshall
89d56c1a52
Make byte-force-recompile suitably interactive.
1995-11-06 13:27:08 +00:00
Richard M. Stallman
9742dbc0ea
(byte-recompile-directory): New arg FORCE.
...
(byte-force-recompile): New function.
1995-10-30 18:01:22 +00:00
Richard M. Stallman
95e7d9333d
(byte-compile-from-buffer): Bind print-level.
1995-10-06 22:42:19 +00:00
Richard M. Stallman
2140206e1c
(byte-compiler-base-file-name): New function.
...
(byte-compile-dest-file): Call byte-compiler-base-file-name.
1995-08-22 18:52:47 +00:00
Richard M. Stallman
f1f32df9a9
(byte-compile-insert-header): Use 19.29, not 19.28.90
...
as limit for where dynamic docstrings are allowed.
(byte-compile-insert-header): New args inbuffer and
outbuffer. Test byte-compile-dynamic-docstrings in the initially
current buffer.
(byte-compile-from-buffer): Add new args to byte-compile-insert-header.
1995-08-10 22:44:21 +00:00
Richard M. Stallman
dac6f67331
(byte-compile-output-docform): Check
...
byte-compile-dynamic-docstrings in input buffer, not output buffer.
1995-08-07 08:45:00 +00:00
Richard M. Stallman
484cd5b16c
(byte-compile-insert-header): If compiling for vers 18,
...
arrange to set current-load-list when loadingthe file.
1995-07-30 19:03:26 +00:00
Karl Heuer
37c29340c7
(byte-compile-output-file-form): Bind print-length
...
and print-level to nil.
1995-07-17 22:46:25 +00:00
Simon Marshall
591655c7ab
Made executing-macro, before-change-function, after-change-function and font-lock-doc-string-face obsolete.
1995-07-09 13:01:31 +00:00
Richard M. Stallman
e0b934886f
(byte-compile-obsolete): Do the funcall to compile
...
the form whether or not we warn.
1995-07-07 13:29:50 +00:00
Karl Heuer
689cee2acc
(byte-compile-insert-header):
...
When using dynamic docstrings, refuse to load in 19.28 and older.
In that error message, don't mention the directory names.
1995-05-26 03:57:42 +00:00
Karl Heuer
1c660f5ab9
(byte-compile-dynamic-docstrings): Doc fix.
1995-05-18 20:04:09 +00:00
Richard M. Stallman
09bc9531d9
(byte-compile-insert-header): Cope if user-mail-address is unbound.
1995-05-15 23:01:17 +00:00
Karl Heuer
ba90138812
(byte-recompile-directory): Use force-mode-line-update.
1995-04-25 22:32:49 +00:00
Richard M. Stallman
ca96ae0b8d
(byte-compile-log-file): Always insert at eob.
...
(byte-compile-insert-header): Cope if user-mail-address is nil.
1995-04-13 22:20:11 +00:00
Richard M. Stallman
144b263796
(byte-compile-log-file): New function.
...
(displaying-byte-compile-warnings): Log the file name at start;
display the log buffer only if something more gets output by BODY.
(byte-compile-warnings-point-max): Initialize to nil.
1995-04-09 05:32:47 +00:00
Richard M. Stallman
428c8e2f3c
(byte-compile-output-docform): Output doc string position
...
as negative number, if doc string starts with *.
1995-04-07 07:29:33 +00:00
Karl Heuer
69dc83fd84
(byte-compile-out-toplevel): Compile lambda forms even if trivial.
1995-03-24 23:43:21 +00:00
Richard M. Stallman
a096f13fc6
(byte-compile-file): Bind default-major-mode to avoid randomness.
1995-02-25 23:27:09 +00:00
Karl Heuer
92beedc25e
(byte-compile-file): Add "done" message.
1995-02-08 04:19:50 +00:00
Karl Heuer
47cf9d3a96
(byte-compile-file-form-defmumble, display-call-tree): Print ellipsis earlier,
...
so message logging will fold similar strings.
1995-02-08 00:43:45 +00:00
Richard M. Stallman
3e6eef9525
(byte-compile-defvar): Add the var to current-load-list.
1995-01-22 00:52:51 +00:00
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