Jonathan Yavner
a5297ce35c
Fixed first-line problem for function documentation strings.
2002-10-27 16:35:06 +00:00
Richard M. Stallman
40e18430f5
(unsafep-variable): Pass second arg to risky-local-variable-p.
2002-10-26 22:34:50 +00:00
Juanma Barranquero
1269ae51b1
(beginning-of-defun): Fix typo.
2002-10-17 16:50:28 +00:00
Juanma Barranquero
a62396ccb3
(elint-error, elint-warning): Fix typo.
2002-10-17 16:49:14 +00:00
Juanma Barranquero
6b8c2efcd6
Fix typo.
2002-10-17 15:32:26 +00:00
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
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