Commit graph

1032 commits

Author SHA1 Message Date
Dave Love
6b33933225 (edebug-eval-defun): Deal with defcustom
like eval-defun does.
1999-01-07 19:45:32 +00:00
Dave Love
c7efc2893d More doc fixes. 1999-01-07 19:24:50 +00:00
Richard M. Stallman
d3d4fb6247 Doc fixes.
(find-function-regexp): Extend for define-generic-mode,
define-derived-mode, easy-mmode-define-minor-mode.
1999-01-06 20:03:53 +00:00
Richard M. Stallman
3de63fb635 (easy-menu-define): Doc fix.
(easy-menu-create-menu): New keyword :included.
(easy-menu-do-add-item): New keyword :included.  SUFFIX may
be an expression, not only a string.  Simulate style `button'.
Use easy-menu-define-key-intern instead of easy-menu-define-key.
(easy-menu-define-key-intern): New function.
(easy-menu-add-item): Understand value returned from
easy-menu-item-present-p and easy-menu-remove-item.
(easy-menu-return-item): New function.
(easy-menu-item-present-p, easy-menu-remove-item): Use it.
1999-01-04 18:53:32 +00:00
Andreas Schwab
f0ee23367c (debug): Leave recursive minibuffer enabled
if it was enabled before.
1999-01-04 11:53:22 +00:00
Richard M. Stallman
a2c896c3c4 (easy-menu-get-map): Change global map only if this menu exists in the
global map already, and not in the local map.
(easy-menu-do-add-item): Fix error message.
1998-12-29 22:54:37 +00:00
Andreas Schwab
9d52160a5c (ad-special-forms): Add save-current-buffer
and track-mouse.
1998-12-28 10:10:22 +00:00
Richard M. Stallman
5e6656e0e6 (easy-menu-get-map): If MENU is nil, use global menu-bar map.
(easy-menu-add-item, easy-menu-remove-item): Argument renamed.
(easy-menu-item-present-p, easy-menu-get-map): Argument renamed.
1998-12-25 06:17:31 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Dave Love
78b6524e5c (find-function-search-for-symbol):
Remove unnecessary test on `library' for explicit file name.
Widen scope of save-match-data.
1998-12-11 17:42:56 +00:00
Markus Rost
c144230d0c Require bytecomp for byte-goto-ops. 1998-12-05 18:18:50 +00:00
Andreas Schwab
b162a8c47a (lm-summary): Strip off -*-
specifications from summary line.
1998-12-03 09:39:41 +00:00
Richard M. Stallman
bacd83a703 (lisp-interaction-mode-map): Doc fix.
(with-temp-message): Add lisp-indent-function property.
1998-11-19 18:45:47 +00:00
Richard M. Stallman
6c3bfd2d92 (find-function-regexp): Handle skeletons. 1998-11-19 18:43:35 +00:00
Richard M. Stallman
3d6a1ce034 (temp-buffer-show-hook): This is not obsolete. 1998-11-18 18:42:34 +00:00
Karl Heuer
44c705d46a indent `with-output-to-string' as a CL
macro, not ELisp one.
1998-11-16 06:37:55 +00:00
Kenichi Handa
bbbc0af028 Set syntaxes all non-word multibyte
characters to symbol.
1998-11-16 06:26:27 +00:00
Karl Heuer
e1acbda2a6 (find-variable-noselect): Autoload. 1998-11-07 02:05:38 +00:00
Andreas Schwab
7ff1b00e83 (edebug-initial-mode): Fix customize type.
(edebug-on-error): Fix customize type to match that of
debug-on-error.
1998-10-30 11:00:07 +00:00
Andreas Schwab
0ba87ff4f3 (eldoc-argument-case): Fix customize type. 1998-10-30 10:59:23 +00:00
Andreas Schwab
6d38633e33 (lm-report-bug): Use
report-emacs-bug-address instead of undefined bug-gnu-emacs.
1998-10-30 10:58:37 +00:00
Andreas Schwab
17f2692a45 (function-form): Fix spec for
"function*".
1998-10-21 09:02:47 +00:00
Karl Heuer
c7f8bd788c (profile-timer-program): Var deleted.
(profile-timer-process, profile-temp-result-, profile-time): Likewise.
(profile-filter, profile-reset-timer): Functions deleted.
(profile-check-zero-init-times, profile-get-time): Likewise.
(profile-find-function, profile-quit): Likewise.
(profile-distinct, profile-call-stack, profile-last-time): New vars.
(profile-time-list, profile-init-list): Doc fix.
(profile-functions): Simplify.
(profile-print): Use float.  Make output include space separators.
(profile-add-time): New helper function.
(profile-function-prolog): Renamed from profile-start-function.
Handle profile-distinct.
(profile-function-epilog): Renamed from profile-update-function.
Handle profile-distinct.
(profile-a-function): If the function to be profiled is an
autoload form, load it.  If it's lazy-loaded, fetch it.
(profile-fix-fun): Simplify profiling wrapper, and unwind-protect it.
(profile-restore-fun): Arg FUN is now a function symbol, as was
documented, rather than a one-element list.
(profile-finish): Call profile-restore-fun properly.
1998-10-21 07:01:32 +00:00
Richard M. Stallman
080434ef3e (byte-recompile-directory):
Print message about each directory, even in batch mode.
1998-10-17 20:20:46 +00:00
Richard M. Stallman
e323ab22c3 (lisp-complete-symbol): Don't bind completion-fixup-function. 1998-10-13 23:56:32 +00:00
Karl Heuer
1fdd360103 (profile-fix-fun): If already profiled,
return DEF unchanged, not nil.  Simplify.
1998-10-07 18:32:55 +00:00
Karl Heuer
2298f9f7d8 (eval-defun): Return the evaluation result. 1998-10-06 23:33:04 +00:00
Eric M. Ludlam
1a553b8be1 (checkdoc-sentencespace-region-engine): Protect a `forward-sexp' call
which could fail, and improved regex for ie, and eg abbreviations.
1998-10-04 12:37:28 +00:00
Richard M. Stallman
458f70dc00 (byte-compile-dynamic): Doc fix. 1998-09-28 13:32:44 +00:00
Karl Heuer
917eabae09 (find-function-search-for-symbol): Fix error messages. 1998-09-21 16:35:21 +00:00
Noah Friedman
44faf98195 (eldoc-message): Check for 1-arg case, and store string in
eldoc-last-message without consing a new string.
Rearrange logic from nested if's into cond's.

(eldoc-print-fnsym-args): Renamed to eldoc-get-fnsym-args-string.
Do not print message; just return string.

(eldoc-get-var-docstring): Renamed from eldoc-print-var-docstring.
Do not print message; just return string.
Cache that string in eldoc-last-data.

(eldoc-last-data): Make into a vector.
(eldoc-get-fnsym-args-string): Use new data form of structure.
(eldoc-get-var-docstring): Here also.

(eldoc-last-data-store): New function.
(eldoc-get-fnsym-args-string): Use it.
(eldoc-get-var-docstring): Here also.

(eldoc-docstring-first-line): Minimize interim string consing.
Call substitute-command-keys on the result.

(eldoc-print-var-docstrings, eldoc-print-docstring,
eldoc-docstring-message): Functions removed.
(eldoc-docstring-format-sym-doc): New function, functionality ripped out of
eldoc-docstring-message.
(eldoc-get-fnsym-args-string, eldoc-get-var-docstring): Use it.
1998-09-19 02:15:26 +00:00
Karl Heuer
e189df5073 Doc fixes. 1998-09-13 03:37:24 +00:00
Eric M. Ludlam
84f473b019 (checkdoc-buffer-label): New function.
(checkdoc-start-section, checkdoc-error): Use `checkdoc-buffer-label'.
(checkdoc-this-string-valid-engine): Permit ? as terminating
 punctuation for first line sentence breaking.
(checkdoc-this-string-valid): When converting a comment into a doc
 string, make sure " chars are \".
(checkdoc-sentencespace-region-engine): Only do double space check
 if based on the variable `sentence-end-double-space'
1998-09-05 13:46:23 +00:00
Karl Heuer
00a90f4253 (lisp-imenu-generic-expression):
Recognize define-skeleton as a function definer.
1998-09-04 20:49:12 +00:00
Karl Heuer
223a2a6298 (byte-compile-inline-expand):
If the function definition is not a lambda, return original FORM
with no error.
1998-09-04 19:57:32 +00:00
Kenichi Handa
2d5975faa8 (byte-compile-output-as-comment):
Calculate the total bytes using position-bytes instead of
char-bytes.
1998-08-28 12:22:39 +00:00
Dave Love
5134d850aa (find-function-search-for-symbol): Look
for compressed library files too.
1998-08-27 09:21:01 +00:00
Andreas Schwab
a62234679c Fix :version tags to have a string value, not a float. 1998-08-26 09:41:07 +00:00
Andreas Schwab
f3effb674a Fix doc-string-elt property on define-derived-mode. 1998-08-24 10:19:52 +00:00
Richard M. Stallman
01c925e95e Whitespace change. 1998-08-18 07:02:59 +00:00
Richard M. Stallman
d18a808f42 (disassemble-1): Move the call to
string-as-unibyte outside of the if statement.
1998-08-11 11:05:51 +00:00
Richard M. Stallman
952cad8980 (sregex-replace-match): Don't call sregex--value-groups.
(sregex-match-end, sregex-match-beginning): Likewise.
(sregex-match-string-no-properties, sregex-match-string): Likewise.
1998-08-10 02:12:04 +00:00
Kenichi Handa
0359db8251 (debugger-outer-unread-post-input-method-events): New variable.
(debug): Bind debugger-outer-unread-post-input-method-events.
Bind unread-post-input-method-events to nil.
(debugger-env-macro): Likewise.
1998-08-06 05:38:11 +00:00
Richard M. Stallman
ef96556f84 (top-level let): add defsubst. 1998-08-05 20:41:55 +00:00
Richard M. Stallman
08b59cd333 (byte-compile-from-buffer): Make the output buffer multibyte. 1998-08-05 17:59:36 +00:00
Richard M. Stallman
aa8c396e4a (find-function-search-for-symbol): Ignore directories
when looking for a library file.
1998-08-01 19:15:12 +00:00
Richard M. Stallman
bbf1ae49ae (lisp-indent-defun-method): New variable.
(common-lisp-indent-function): Use it.
(lisp-indent-259): Uncomment the `&lambda' code.
(top-level let): Remove duplicate `catch' and `block'.  Use
`&lambda' when appropriate.  Now the lambda lists are indented appropriately.
1998-07-31 03:21:07 +00:00
Richard M. Stallman
8a8a9abe0c (find-function-noselect): Autoload cookie. 1998-07-29 23:04:24 +00:00
Richard M. Stallman
86f281250c (find-function-regexp): Added :version 20.3.
(find-variable-regexp, find-function-after-hook): Likewise.
(find-function-recenter-line): Likewise.
(find-function-recenter-line): Remove autoload cookie.
(find-function-do-it): Made more solid.  `save-excursion' around
call to `find-function-noselect'.  `find-function-other-window'
and `find-function-other-frame' point behaviour should be correct
now when function in a current buffer.
(find-function-setup-keys): New function to set up keybindings.
1998-07-14 23:42:21 +00:00
Richard M. Stallman
09a4d958b2 Indent restart-case', handler-bind' and `restart-bind' correctly. 1998-07-14 08:20:17 +00:00