Commit graph

1375 commits

Author SHA1 Message Date
Richard M. Stallman
1fd592a0b0 (byte-compile-set-symbol-position): Don't recompute `entry' on each iteration.
(byte-compile-delete-first): Make it defsubst.
2002-07-25 18:18:10 +00:00
Richard M. Stallman
95c997fa7f (byte-compile-cl-functions): New variable.
(byte-compile-cl-warn): Use that variable.
(byte-compile-find-cl-functions): New function.
(displaying-byte-compile-warnings):
Call byte-compile-find-cl-functions.
2002-07-24 03:58:02 +00:00
Richard M. Stallman
22788fb817 Use warnings.el:
(byte-compile-warning-prefix): New function.
(byte-compile-log-file): Return page start position.
(byte-compile-log-warning): New function.
(byte-compile-warn): Use byte-compile-log-warning.
(byte-compile-report-error): Likewise.  Also use error-message-string.
(displaying-byte-compile-warnings): Bind warning-series.
Don't bind or use byte-compile-warnings-point-max.
Don't display the log buffer at the end.
(byte-compile-warnings-point-max): Variable deleted.
(byte-compile-log-1): Rewrite for trace info, not used for warnings.
(byte-compile-last-warned-form, byte-compile-last-logged-file):
Defvars moved.
2002-07-20 22:01:19 +00:00
Richard M. Stallman
9cb9a7bc56 (byte-compile-cl-warn): Delete `values'
and `values-list' from list of CL functions.

(compile-defun): Bind `read-with-symbol-positions' to current buffer.
2002-07-19 23:01:24 +00:00
Juanma Barranquero
6079b12b94 (unread-command-char, executing-macro, post-command-idle-hook,
post-command-idle-delay): Move obsolescence declarations to subr.el.
2002-07-19 11:35:37 +00:00
Juanma Barranquero
9c708a1b1c (dot, dot-max, dot-min, dot-marker, buffer-flush-undo, baud-rate,
compiled-function-p, define-function): Move obsolescence declarations to
subr.el.
2002-07-19 06:23:28 +00:00
Richard M. Stallman
7979633450 Fix doc typos. 2002-07-14 15:26:01 +00:00
Stefan Monnier
87dd507f6a (cl-set-substring): Fix thinko.
(cl-hack-byte-compiler): Avoid infinite require loop.
2002-07-13 23:08:01 +00:00
Richard M. Stallman
f988b54154 (multiple-value-call): Add alias. 2002-07-12 17:41:00 +00:00
Juanma Barranquero
3932b29ac2 (authors-obsolete-file-p): Fix typo. 2002-07-10 11:07:28 +00:00
Stefan Monnier
7473b6ad84 (debug-on-entry): Fix the wrapper used for
aliases to also work for interactive functions.
Use the same wrapper for subroutines.
(cancel-debug-on-entry): Get rid of the now-useless wrapper.
(debug-on-entry-1): Correctly skip docstrings and interactive forms.
2002-07-07 20:25:23 +00:00
Richard M. Stallman
259bf181b5 (easy-menu-popup-menu): Function deleted. 2002-07-07 09:56:08 +00:00
Richard M. Stallman
004b6f61b3 (ad-compile-function): Disable cl-function warnings if cl is loaded. 2002-07-07 09:37:09 +00:00
Juanma Barranquero
4696802bde Fix typo. 2002-07-03 12:01:24 +00:00
Richard M. Stallman
89fd3098d8 (easy-menu-popup-menu): New function. 2002-07-02 18:49:03 +00:00
Richard M. Stallman
4795d1c7d1 (byte-compile-warning-types):
Rename cl-func to cl-functions.  Enable it by default.
(byte-compile-file-form-eval-boundary):
Turn off cl-functions warnings if the file loads cl.
(byte-compile-initial-macro-environment): For eval-and-compile,
use byte-compile-eval-before-compile to eval.
(byte-compile-eval-before-compile): New function to turn off
cl-functions when appropriate, for eval-and-compile.

(byte-compile-warnings):  Add cl-func option.
(byte-compile-cl-warn): New function.
(byte-compile-form): Use it, to warn about calling cl functions.
2002-07-02 18:48:34 +00:00
Kim F. Storm
4141da38a0 New file. 2002-07-01 22:01:13 +00:00
Juanma Barranquero
52f4048f13 (baud-rate): Fix obsolescence declaration.
(meta-flag): Likewise.
2002-06-27 16:07:04 +00:00
Richard M. Stallman
8f7ef36641 (values): Simplify definition. 2002-06-26 09:03:37 +00:00
Stefan Monnier
ba76e7fac5 (byte-compile-callargs-warn):
Check for `noruntime' even if the function has a known sig.
(byte-compile-file, byte-compile-output-docform):
Don't hard code point-min = 1.
2002-06-25 01:09:52 +00:00
Stefan Monnier
cafbc9a576 (cancel-debug-on-entry): Don't cons uselessly. 2002-06-18 21:53:30 +00:00
Stefan Monnier
91fc05b1ae (regexp-opt-group): Don't cons uselessly. 2002-06-18 21:52:42 +00:00
Juanma Barranquero
01af482e4d (checkdoc-this-string-valid-engine): Fix typo. 2002-06-18 14:35:49 +00:00
Richard M. Stallman
c4f2cabda6 (byte-recompile-directory): Doc fix.
(batch-byte-recompile-directory): Undo previous change.
2002-06-15 20:37:01 +00:00
Richard M. Stallman
6b25a2f544 (copy-list): Moved back from subr.el. 2002-06-10 09:00:52 +00:00
Colin Walters
7f050de0b3 (cl-copy-tree): Moved to `copy-tree' in subr.el. Add a defalias with
the old name.
2002-06-08 22:32:06 +00:00
Colin Walters
06bc5dbf8e (copy-list): Moved to subr.el. 2002-06-08 21:42:00 +00:00
Richard M. Stallman
f620e5e2ed (common-lisp-indent-function-1):
When recognizing a def... construct, make that indentation
tentative, so that it can be overridden if the list in question
is not actually an expression.
(common-lisp-indent-call-method): New subroutine.
2002-05-29 16:40:34 +00:00
Richard M. Stallman
d09b1c02f5 (batch-byte-compile-file): Delete the output file if we get a file-error. 2002-05-29 16:38:46 +00:00
Colin Walters
ccb3c8deaf (byte-compile-last-line): Deleted.
(byte-compile-delete-first): New function.
(byte-compile-read-position): New variable.
(byte-compile-last-position): New variable.
(byte-compile-current-buffer): New variable.
(byte-compile-log-1): Use it.
(byte-compile-set-symbol-position): New function.
(byte-compile-obsolete, byte-compile-callargs-warn)
(byte-compile-arglist-warn, byte-compile-arglist-warn)
(byte-compile-print-syms, byte-compile-file-form-defmumble)
(byte-compile-check-lambda-list, byte-compile-lambda)
(byte-compile-form, byte-compile-variable-ref)
(byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
(byte-compile-condition-case, byte-compile-defun)
(byte-compile-defvar, byte-compile-autoload)
(byte-compile-lambda-form): Use it.
(byte-compile-from-buffer): Set it, and bind
`read-with-symbol-positions' and `read-symbol-positions-list'.
(byte-compile-debug): New variable.
2002-05-28 17:40:47 +00:00
Stefan Monnier
54cabb1b65 (find-function-search-for-symbol): Find funs defined with defun-cvs-mode.
(find-function-space-re): New const.  Skips comments as well.
(find-function-regexp, find-variable-regexp): Use it.
2002-05-16 20:11:23 +00:00
Stefan Monnier
9567300236 (easy-menu-make-symbol): Don't treat (lambda () ...) as an expression. 2002-05-15 22:14:16 +00:00
Eli Zaretskii
08ad334280 (easy-menu-add): Doc fix. 2002-05-15 16:49:54 +00:00
Jason Rumney
dd9b56636e (easy-menu-name-match): Match both
displayed text and internal name as string.
2002-05-14 21:20:24 +00:00
Markus Rost
b7f30cf569 (checkdoc-minor-mode): Define it with define-minor-mode. 2002-05-12 19:08:48 +00:00
Markus Rost
4562c2e45f (find-function-search-for-symbol): Handle more whitespace/newline
combinations in symbol definitions.
2002-05-12 19:05:37 +00:00
Markus Rost
a4f430482b (find-function-search-for-symbol): Add autoload cookie.
(find-function-regexp):  Include "\(quote " to match the defaliases in
loaddefs.el.
2002-05-08 16:42:09 +00:00
Markus Rost
fe75e6d023 (find-function-search-for-symbol): Use with-syntax-table. 2002-05-06 21:12:42 +00:00
Markus Rost
77186c6280 (find-function-search-for-symbol): Bind case-fold-search when searching. 2002-05-04 15:42:34 +00:00
Pavel Janík
307645975c Follow coding conventions. 2002-05-02 05:41:46 +00:00
Richard M. Stallman
bd421bc2dd (documentation): Add ad-define-subr-args call. 2002-04-30 04:20:25 +00:00
Richard M. Stallman
9ef2bee6d0 (easy-menu-intern): Downcase before interning.
(easy-menu-define-key-intern): Function deleted; callers intern
and then call easy-menu-define-key.
(easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
(easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
(easy-menu-name-match): New function.
(add-submenu): New function.
(easy-menu-get-map-look-for-name): Use easy-menu-name-match.
2002-04-24 23:18:42 +00:00
Stefan Monnier
efcc2791fa (device-class, buffer-syntactic-context)
(buffer-syntactic-context-depth): New funs.
2002-04-12 03:25:00 +00:00
Stefan Monnier
0c4a4faa07 (edebug-eval-defun): Don't use defconst on variables. 2002-04-12 03:20:46 +00:00
Stefan Monnier
6836bb6931 (debug-on-entry): Use push.
(debugger-make-xrefs): Don't assume point-min == 1.
2002-04-12 03:19:09 +00:00
Richard M. Stallman
1fc9ee97d3 (side-effect-free-fns, side-effect-and-error-free-fns):
Add many functions, remove some.
2002-03-31 16:22:58 +00:00
Richard M. Stallman
8ab4da6cc0 (list-load-path-shadows): Only ignore last copy of standard Lisp
directories.
2002-03-28 18:15:32 +00:00
Gerd Moellmann
985b468607 (byte-compile-file-form-defmumble):
Handle declarations in macro definitions.
2002-03-24 19:48:27 +00:00
Stefan Monnier
814c447faf (batch-byte-compile-if-not-done): Add autoload cookie. 2002-03-22 23:05:26 +00:00
Gerd Moellmann
9309787357 (common-lisp-loop-part-indentation):
Fix simple loop indentation.
2002-03-15 08:57:55 +00:00