Commit graph

1888 commits

Author SHA1 Message Date
Miles Bader
51fa34bc58 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-220
Creator:  Michael Olson <mwolson@gnu.org>

Improve tq.el.

* lispref/processes.texi (Transaction Queues): Mention the new optional
  `delay-question' argument for `tq-enqueue'.

* lisp/emacs-lisp/tq.el: Improve comments.
  (tq-queue-head-question): New accessor function.
  (tq-queue-head-regexp, tq-queue-head-closure, tq-queue-head-fn):
  Update for modified queue structure.
  (tq-queue-add): Accept `question' argument.
  (tq-queue-pop): If a question is pending, send it.
  (tq-enqueue): Accept new optional argument `delay-question'.  If
  this is non-nil, and at least one other question is pending a
  response, queue the question rather than sending it immediately.
2006-04-16 02:17:00 +00:00
Stefan Monnier
a04e10bc37 (find-function-search-for-symbol): Add comments. 2006-04-13 14:31:23 +00:00
Eli Zaretskii
65d04e7627 (edebug-basic-spec): New function for vetting file-local form specs. 2006-04-13 10:51:17 +00:00
Richard M. Stallman
aa9addfa93 (byte-compile-file): Bind enable-local-variables to :safe,
and make normal-mode obey it.
2006-04-11 17:58:58 +00:00
Bill Wohler
1d22fabd46 (find-function-regexp): Allow dashes in defun name, in similar fashion
to find-variable-regexp.
2006-04-10 22:33:51 +00:00
Stefan Monnier
2b690e5b35 (find-function-search-for-symbol): Fix regexp so the defined var/fun doesn't
need to be quoted.
2006-04-10 18:45:34 +00:00
Stefan Monnier
67438f773f (byte-compile-form): Only call cl-byte-compile-compiler-macro if it exists. 2006-04-08 14:56:21 +00:00
Richard M. Stallman
a8d78e0d70 (eval-print-last-sexp, eval-last-sexp, eval-defun): Doc fixes. 2006-04-07 23:30:23 +00:00
Kim F. Storm
605046efef Add a few aliases. Ignore changes to AUTHORS file. 2006-03-28 11:25:17 +00:00
Luc Teirlinck
a5f1e15451 (debug-help-follow): Revert last change. 2006-03-20 04:44:47 +00:00
Luc Teirlinck
db13394c30 (debug-help-follow): Adapt comment to change in help-mode.el. 2006-03-20 00:38:09 +00:00
Eli Zaretskii
a6966c1ce7 (rx-check-any, rx-check-not): Quote "]"s in regexps when they have no
special meaning.
2006-03-03 12:20:26 +00:00
Eli Zaretskii
309411cbe7 (edebug-display): Use `edebug-sit-for-seconds' value instead of a literal
constant (1) on more pauses.
2006-03-03 11:55:43 +00:00
Luc Teirlinck
f352b9d773 (find-library-suffixes): Use get-load-suffixes' instead of load-suffixes'.
(find-library-name): Use `load-file-rep-suffixes' instead of '("").
2006-02-27 02:03:00 +00:00
Luc Teirlinck
de10856c9d (update-directory-autoloads): Use `get-load-suffixes' instead of
`load-suffixes'.
2006-02-27 01:58:04 +00:00
Richard M. Stallman
fe541a2743 (unsafep): Don't treat &rest or &optional as variables at all.
(unsafep-variable): Rename arg; doc fix.
2006-02-21 19:54:36 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Luc Teirlinck
c67a6c4884 (find-definition-noselect): Minor doc fix. 2006-02-05 05:58:26 +00:00
Stefan Monnier
60ee095775 Minor twiddles in comments and docstrings. 2006-02-01 17:01:03 +00:00
John Paul Wallington
c45c309fe2 (toplevel): Remove definition of `cl-assertion-failed' condition --
it's defined in subr.el instead.
2006-01-30 19:58:41 +00:00
Eli Zaretskii
3bdedbcb8c (find-definition-noselect, find-variable-noselect): Search variables in
C source code too.
(find-function-C-source, find-function-noselect, find-function)
(find-function-other-frame, find-variable-noselect, find-variable)
(find-variable-other-frame, find-variable-at-point): Fix docstrings.
2006-01-21 20:39:30 +00:00
Eli Zaretskii
defe3b4124 (batch-byte-recompile-directory): Doc fix. 2006-01-13 09:56:23 +00:00
Eli Zaretskii
43c7b3019a (find-definition-noselect): Fix typo in a doc string: "functoin" => "function". 2006-01-06 12:03:41 +00:00
Stefan Monnier
b7a5a20839 (byte-compile-file-form-defalias):
Optimize the body of a defalias like any other code.
2006-01-03 18:35:58 +00:00
Juri Linkov
eb53358796 (edebug-all-defs, edebug-all-forms): Add autoload cookies.
(edebug-outside-d-c-i-n-s-w): New variable.
(edebug-display, edebug-outside-excursion): Use it to save the
original value of default-cursor-in-non-selected-windows.
Set default-cursor-in-non-selected-windows to t while Edebug is active.
(edebug-mode, edebug-eval-mode): Doc fix.
2005-12-23 21:57:08 +00:00
Romain Francoise
5e6882903d (lisp-complete-symbol): Don't print progress messages if in the
minibuffer.
2005-12-22 07:41:04 +00:00
Stefan Monnier
c1b5a260d6 (lisp-complete-symbol): Mostly undo the change by Kevin Rodgers.
Instead, just hide the completions buffer if we don't need to show it.
2005-12-22 01:48:20 +00:00
Stefan Monnier
398de7181d (lisp-complete-symbol): Don't call delete-windows-on with an inexistent buffer. 2005-12-21 20:02:20 +00:00
Stefan Monnier
61f03d6f8f (cl-macroexpand-all): Fix code-walk for
lexical-let when encountering ((lambda (...) ...) ...).
2005-12-19 02:17:38 +00:00
Chong Yidong
14e7cb9400 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Capture
error from printing circular structures.
2005-12-17 15:45:55 +00:00
Juri Linkov
7fbaa67c62 (crm-minibuffer-completion-help):
Use `crm-current-element' for second arg of `display-completion-list'.
2005-12-16 19:09:43 +00:00
Eli Zaretskii
6d93e4aa38 (lisp-complete-symbol): Regenerate the completion list, even after a partial
completion has been inserted in the current buffer.  If there are more than 1
completion, redisplay the *Completions* buffer; if the completion is unique,
delete the *Completions* window.
2005-12-10 11:40:04 +00:00
Stefan Monnier
6a6e859a93 (edebug-skip-whitespace): read1:lread.c says
that comments end at \n, regardless of selective-display.
2005-12-06 22:10:07 +00:00
Juri Linkov
3cbdd0c19d Put `doc-string-elt' property on
easy-mmode-define-global-mode and define-global-minor-mode.
(lisp-imenu-generic-expression): Add define-global-minor-mode.
2005-12-04 02:36:13 +00:00
Juri Linkov
aa4a1bf805 (find-function-regexp):
Add define-global-minor-mode.  Replace `easy-mmode-define-global-mode'
with `easy-mmode-define-[a-z-]+'.  Add easy-menu-define.
(find-variable-regexp): Add easy-mmode-defmap, easy-mmode-defsyntax
and easy-menu-define.
2005-12-04 02:35:20 +00:00
Juri Linkov
d5ba8197bb (easy-mmode-define-navigation): Put `definition-name' properties on the
constructed function names next-sym and prev-sym.
2005-12-04 02:34:33 +00:00
Juri Linkov
cc793355dc (define-derived-mode): Put `definition-name'
properties on the constructed variable names.
2005-12-04 02:33:41 +00:00
Juri Linkov
c6a3142d9e (make-autoload): Add define-global-minor-mode. 2005-12-04 02:32:35 +00:00
Eli Zaretskii
d20a1ebb17 (lisp-imenu-generic-expression): Fix bug whereby names of length one
or names starting with a symbol-constituent character would not be returned.
2005-12-03 09:48:08 +00:00
Stefan Monnier
1bddeeed51 (make-autoload): Handle defgroup specially. 2005-11-30 16:04:40 +00:00
Stefan Monnier
d95324034b (elp-not-profilable): Replace interactive-p with called-interactively-p.
(elp-profilable-p): Rename from elp-not-profilable-p.
Invert result and take into account macros and autoloaded functions.
(elp-instrument-function): Update call.
(elp-instrument-package): Update call.  Add completion.
(elp-pack-number): Use match-string.
(elp-results-jump-to-definition-by-mouse): Merge into
elp-results-jump-to-definition and then remove.
(elp-output-insert-symname): Make help echo text single-line.
2005-11-28 21:55:15 +00:00
Stefan Monnier
40e8a6c318 (defstruct): Don't define the default constructor if it is overridden. 2005-11-27 20:59:10 +00:00
Andreas Schwab
da49096f06 Handle compressed files. 2005-11-19 16:53:48 +00:00
Richard M. Stallman
9d8684ddf3 (byte-optimize-form-code-walker): Improve warning message text. 2005-11-16 22:20:03 +00:00
Luc Teirlinck
156680e2df (define-derived-mode): Remove defvar for mode hook. (It conflicted
with defcustoms for some mode hooks.)  Use the `variable-documentation'
property to give the mode hook a docstring and expand that docstring.
2005-11-14 23:05:53 +00:00
Lars Hansen
1e0888f5a6 (update-directory-autoloads): Add obsolete function alias. 2005-11-08 20:24:19 +00:00
Stefan Monnier
5a3859e611 (lisp-mode-variables): Don't set comment-indent-function.
(lisp-comment-indent): Replace by an alias for comment-indent-default.
2005-11-08 01:46:37 +00:00
Luc Teirlinck
0ceed14b2e (define-global-minor-mode): Pass all specified keyword args on to
`define-minor-mode'.  Update docstring.
2005-11-05 23:03:57 +00:00
Andreas Schwab
c80eca7195 (byte-optimize-pure-func): Quote the
folded value.
2005-11-02 22:18:56 +00:00
Stefan Monnier
4cd305ac33 (byte-optimize-pure-func): Quote the eval'd value so it's not re-eval'd. 2005-11-02 21:56:15 +00:00