Commit graph

1305 commits

Author SHA1 Message Date
Richard M. Stallman
2b25de040f (byte-compile-output-docform): Don't make the definition dynamic if it
shares structure with the arg list.
2002-09-18 16:02:49 +00:00
Stefan Monnier
c8fb3bf9c6 (define-minor-mode): Add a :require arg.
Don't call the function during init if mode is on by default.
2002-09-13 14:16:02 +00:00
Stefan Monnier
43ce8949e9 (find-library-name): Typo. 2002-09-12 21:49:55 +00:00
Stefan Monnier
4dbf594b9f (find-library-name): Don't forget the empty suffix. Fix stale variable name. 2002-09-12 21:48:20 +00:00
Stefan Monnier
c17e2545b9 (syntax-after): Delete. Moved to subr.el. 2002-09-09 23:14:13 +00:00
Stefan Monnier
f77a605054 (find-library-suffixes, find-library-name)
(find-library): New funs.
(find-function-search-for-symbol): Use it.
2002-09-09 21:50:36 +00:00
Stefan Monnier
4f6d5bf009 (byte-compile-file): Don't switch buffer. 2002-09-09 21:41:34 +00:00
Richard M. Stallman
4eb4926c58 (byte-recompile-directory): Set and then bind default-directory. 2002-09-09 19:35:57 +00:00
Richard M. Stallman
cd91e34cb4 (byte-compile-delete-errors): Default to nil. 2002-09-09 00:28:38 +00:00
Richard M. Stallman
cd63e3a185 Comment change. 2002-09-09 00:28:00 +00:00
John Paul Wallington
cb0fd101b9 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
* emacs-lisp/find-func.el (find-function-recenter-line): Add
custom type.  Doc fix.
2002-09-07 06:45:43 +00:00
Juanma Barranquero
0a6cac62de (rx): Fix spacing. 2002-09-06 07:14:12 +00:00
Juanma Barranquero
05619b9978 (string-to-float): Fix spacing. 2002-09-06 07:13:53 +00:00
Juanma Barranquero
2251e3edaf (find-function-search-for-symbol): Fix spacing. 2002-09-06 07:13:27 +00:00
Juanma Barranquero
07c209a089 (easy-menu-define): Fix spacing. 2002-09-06 07:13:06 +00:00
Stefan Monnier
e899e3de1e (easy-menu-filter-return):
Handle the case where the filter returns a single menu entry.
(easy-menu-add): Improve docstring.
(easy-menu-current-active-maps): Remove.
(easy-menu-get-map): Use current-active-maps.
2002-08-30 21:55:07 +00:00
Richard M. Stallman
4390021bf8 (byte-compile-warning-prefix):
Decide here whether to print which form we're compiling.
If we do that, still print file and line.  Make file name
relative to default-directory.	Print fewer newlines.
(byte-compile-log-file): Print something even if no file.
Print messages for entering and leaving directories,
and set default-directory.
(displaying-byte-compile-warnings): Only sometimes bind warning-series.
(byte-compile-warning-series): New function.
(byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
(byte-compile-display-log-head-p): Function deleted.
2002-08-29 17:26:47 +00:00
Richard M. Stallman
8f876842ca (byte-compile-log-file): Use \f.
(byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
to don't-warn list.
2002-08-29 14:49:48 +00:00
Stefan Monnier
d99d3266b0 (define-minor-mode): Use customize-mark-as-set for global minor modes. 2002-08-26 16:40:49 +00:00
Kim F. Storm
28e57b1f45 (authors-aliases, authors-fixed-entries):
Corrected spelling mistakes (for Joseph Arceneaux).
2002-08-22 14:27:50 +00:00
Stefan Monnier
5ddfa187e9 (easy-mmode-define-global-mode): Use find-file-hook instead of find-file-hooks.
(define-minor-mode): Get rid of this silly `togglep'.
Add an explicit `toggle' argument (used for interactive calls).
Emit a warning when a nil argument turns the mode off.
2002-08-15 01:06:05 +00:00
Stefan Monnier
b88b46f269 (find-function-search-for-symbol): Use find-file-hook instead of ...-hooks. 2002-08-15 00:08:48 +00:00
Richard M. Stallman
2bef95e520 (find-function-search-for-symbol): Obey `definition-name' properties. 2002-08-13 01:49:40 +00:00
Richard M. Stallman
0256550475 (easy-mmode-define-global-mode): Put `definition-name' properties on
the functions whose names are constructed.
2002-08-13 01:49:13 +00:00
Richard M. Stallman
84003f382e (checkdoc, checkdoc-interactive)
(checkdoc-message-interactive, checkdoc-interactive-loop)
(checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
(checkdoc-defun):
Update checkdoc-spellcheck-documentation-flag correctly.
(checkdoc-ispell-docstring-engine): Don't test for
checkdoc-autofix-flag = nil.
2002-08-09 01:56:00 +00:00
Richard M. Stallman
1f1b7f93c2 (edebug-eval-top-level-form): Use eval-expression. 2002-08-02 18:00:18 +00:00
Richard M. Stallman
c43008c44a (byte-compile-find-cl-functions):
Check that (car elt) is a string.
2002-07-31 22:05:16 +00:00
Richard M. Stallman
c82fbd0cfa Comment change. 2002-07-29 02:09:19 +00:00
Richard M. Stallman
3795fe529d (edebug-debugger): If inside redisplay, just return. 2002-07-29 01:51:09 +00:00
Richard M. Stallman
e734f58457 (debug): If redisplaying, just return. 2002-07-29 01:49:45 +00:00
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