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
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
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
Richard M. Stallman
b890df1a7a
(byte-compile-lambda): Test of byte-compile-compatibility was backwards.
1993-02-17 20:29:57 +00:00
Jim Blandy
ed015bddf7
* disass.el (disassemble): Add autoload cookie for this.
...
* bytecomp.el (byte-decompile-bytecode): Add an autoload for this.
compiled-function-p has been renamed to byte-code-function-p.
* subr.el: Define compiled-function-p as an alias for it.
* bytecomp.el: Register compiled-function-p as obsolete.
* bytecomp.el, byte-opt.el, disass.el, help.el, map-ynp.el: Change
uses.
unread-command-event has been replaced by unread-command-events.
* simple.el (prefix-arg-internal): Use this to push back all
key sequences for processing by the main command loop, instead of
trying to simulate its behavior ourselves.
* bytecomp.el: Document unread-command-event as an obsolete
variable, although nothing but the GNU Emacs 19 sources use it.
Adjust obsolescence message for unread-command-char.
* comint.el (comint-dynamic-list-completions): Change uses of
unread-command-event to work with unread-command-events.
* ebuff-menu.el (electric-buffer-list, Electric-buffer-menu-exit):
Same.
* edebug.el (edebug-outside-excursion): Same.
* ehelp.el (electric-help-command-loop): Same.
* electric.el (Electric-command-loop): Same.
* emerge.el (emerge-show-file-name): Same.
* fortran.el (fortran-abbrev-start,
fortran-window-create-momentarily): Same.
* gnus.el (gnus-Subject-next-article): Same.
* info.el (Info-summary): Same.
* isearch-mode.el (isearch-update, isearch-unread): Same.
* map-ynp.el (map-y-or-n-p): Same.
* mlsupport.el (push-back-character): Same.
* replace.el (perform-replace): Same.
* simula.el (simula-electric-label): Same.
* subr.el (read-quoted-char, momentary-string-display): Same.
* sun-mouse.el (mouse-second-hit): Same.
* terminal.el (te-escape-extended-command-unread): Same.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Same.
1993-01-26 01:36:02 +00:00
Jim Blandy
79d52eea3e
* bytecomp.el: Declare unread-command-char an obsolete variable.
...
* bytecomp.el: (require 'backquote).
1992-11-16 01:21:50 +00:00