Commit graph

230 commits

Author SHA1 Message Date
Richard M. Stallman
08b59cd333 (byte-compile-from-buffer): Make the output buffer multibyte. 1998-08-05 17:59:36 +00:00
Richard M. Stallman
dc14ae363e (byte-compile-file): Bind set-auto-coding-for-load to t. 1998-07-05 20:30:39 +00:00
Andreas Schwab
778c757617 (byte-compile-generate-call-tree):
Use `other' widget type.
1998-06-24 09:02:58 +00:00
Karl Heuer
b9edcafb51 (byte-compile-lambda): Fix previous change. 1998-06-04 06:11:30 +00:00
Richard M. Stallman
fb639443f9 (byte-compile-insert-header): Do not look for multibyte characters here.
Generate the right file header for use if there are none.
Insert a line of semicolons for subsequent deletion if needed.
(byte-compile-fix-header): New function.
This updates the file header if the file uses multibyte characters.
(byte-compile-from-buffer): Call byte-compile-insert-header
before compiling, and byte-compile-fix-header at the end.
1998-05-19 02:59:42 +00:00
Richard M. Stallman
d57d06cb6e (byte-compile-insert-header): Fix prev chg. 1998-05-13 04:48:48 +00:00
Richard M. Stallman
1596952ed4 (byte-compile-from-buffer):
Insert the output file header after compiling all the input.
(byte-compile-output-file-form): Major cleanup.
If output file contains multibyte chars,
insist on Emacs 20 when loading.
1998-05-13 00:03:19 +00:00
Richard M. Stallman
1cdb6e7c67 (byte-compile-output-docform): Use position-bytes. 1998-05-10 03:50:03 +00:00
Richard M. Stallman
746dd29821 (byte-compile-file): Always read the file in multibyte mode
unless the file itself specifies unibyte mode.
1998-04-23 21:24:29 +00:00
Karl Heuer
170c97338b (byte-compile-warn-about-unresolved-functions): Fix whitespace. 1998-04-15 06:10:51 +00:00
Andreas Schwab
aa6356917b (byte-compile-warnings): Fix customize
type.
1998-04-14 10:43:27 +00:00
Richard M. Stallman
17ceb934e4 (byte-compile-output-as-comment):
Use the size in bytes for the #@ size integer.
1998-02-05 03:25:11 +00:00
Richard M. Stallman
74dfd056e4 (byte-compile-from-buffer): Bind edebug-all-defs and edebug-all-forms to nil. 1998-02-02 01:21:18 +00:00
Richard M. Stallman
713ea1de58 Customized.
(displaying-byte-compile-warnings):
To avoid error, use (forward-line -1), not previous-line.
1998-01-26 10:28:01 +00:00
Karl Heuer
cb5b843e72 (displaying-byte-compile-warnings): Show
entire "Compiling ..." line when recentering.
1997-09-25 01:10:01 +00:00
Richard M. Stallman
36b7e5233a (byte-compile-output-file-form): Handle custom-declare-variable. 1997-08-31 17:07:28 +00:00
Richard M. Stallman
b077f04568 (byte-compile-output-docform):
Bind print-gensym-alist; bind print-gensym to a cons cell.
1997-07-25 03:01:28 +00:00
Richard M. Stallman
2c9210580b (eql): byte-defop-compiler definition deleted. 1997-07-23 21:41:47 +00:00
Richard M. Stallman
b8ae93ada3 (char-after): Allow 0 args. 1997-07-10 10:55:23 +00:00
Richard M. Stallman
1c57117e75 (byte-compile-file): Doc fix.
(batch-byte-compile-file): Return what byte-compile-file returns.
1997-06-22 23:08:47 +00:00
Richard M. Stallman
78943c8ae6 (byte-save-current-buffer): Change to code 114 (0162). 1997-06-15 23:05:19 +00:00
Richard M. Stallman
8c731d3d49 (byte-compile-file-form-custom-declare-variable): New function. 1997-05-08 16:28:07 +00:00
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