Commit graph

1320 commits

Author SHA1 Message Date
Richard M. Stallman
8c26d7b356 (byte-optimize-form-code-walker): Treat `ignore' specially--prevent
warnings about functions called for effect, in its args.
Don't warn when `pop' is used for effect.
2002-10-14 01:33:40 +00:00
Richard M. Stallman
7dab57b625 (autoload-print-form): Cleanup. 2002-10-14 01:32:25 +00:00
Richard M. Stallman
a6ce686959 (define-minor-mode): Doc fix. 2002-10-07 22:49:39 +00:00
Juanma Barranquero
0a10297a06 Add "no-byte-compile: t" in first line. 2002-10-01 17:06:54 +00:00
Jonathan Yavner
7ed9159a5c New major mode "SES" for spreadsheets.
New function (unsafep X) determines whether X is a safe Lisp form.
New support module testcover.el for coverage testing.
2002-09-28 18:45:56 +00:00
Stefan Monnier
69d8fb1ee6 Use the new usage-in-docstring syntax.
(cl-push, cl-pop): Remove.  Use pop and push throughout the file instead.
(cl-transform-lambda): Add usage info to docstring if the arglist is complex.
2002-09-27 23:16:27 +00:00
Stefan Monnier
890df022a2 (make-autoload): Add usage info to docstring.
(autoload-print-form): Also quote open-[-in-column 0.
2002-09-27 23:03:17 +00:00
Stefan Monnier
abfb2fe607 (cl-push, cl-pop): Remove. Use pop and push throughout the file instead.
(cl-hash-lookup): Remove.
(cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
(cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
2002-09-27 22:32:48 +00:00
Stefan Monnier
ca50d9e6f3 (cl-push, cl-pop): Remove.
Use pop and push throughout the file instead.
2002-09-27 22:19:22 +00:00
Stefan Monnier
f750141670 Don't precompute menu shortcuts during
loading since the current keymaps might be all weird.
2002-09-27 22:18:17 +00:00
Stefan Monnier
bb76239ba1 (define-minor-mode): Don't add properties
to the name since they're added by mode-line-format already.
(define-minor-mode): Run (,mode -1) when needed.
2002-09-27 21:12:12 +00:00
Stefan Monnier
1a40d81d1a (find-library-name): Correctly find "f.el.gz" from "f.elc" or "f.elc.gz". 2002-09-25 18:58:37 +00:00
Stefan Monnier
f2d2436d43 Add/remove spaces. 2002-09-25 17:45:29 +00:00
Stefan Monnier
0f18f01cab (easy-menu-remove): Add docstring. 2002-09-19 05:12:24 +00:00
Stefan Monnier
21311ac9ec (ewoc--node-branch): Add docstring. 2002-09-19 05:11:48 +00:00
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