1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
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
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