1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00
Commit Graph

1287 Commits

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