1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

1877 Commits

Author SHA1 Message Date
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
Stefan Monnier
cfa1d4c6d1 (string-to-syntax): Mark it as pure. 2005-11-02 19:03:17 +00:00
Dan Nicolaescu
c94f08ff7a * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so
that global-font-lock-mode can be enabled by default.

* font-lock.el (font-lock-keywords, font-lock-mode-internal)
(font-lock-add-keywords, font-lock-remove-keywords)
(font-lock-fontify-buffer): Remove autoload cookies.

* jit-lock.el (jit-lock-register): Likewise.

* emacs-lisp/syntax.el (syntax-ppss): Likewise.

* puresize.h (BASE_PURESIZE): Increment to 1170000.
2005-10-31 16:41:15 +00:00
Richard M. Stallman
dbbee52991 (timer-activate, timer-activate-when-idle): New arg REUSE-CELL.
(cancel-timer-internal): New function.
(timer-event-handler): Use cancel-timer-internal,
and pass the cell it returns to timer-activate...
2005-10-29 19:47:23 +00:00
Richard M. Stallman
81013a6cde (easy-menu-change): Doc fix. 2005-10-28 16:22:47 +00:00
Romain Francoise
53aaf457fe (find-library-name): Also strip extension if library name ends in .el,
to take advantage of `find-library-suffixes'.
2005-10-25 19:25:23 +00:00
Stefan Monnier
8c6fac61df (easy-mmode-define-global-mode): Don't add a dummy doc-string-elt property.
(defalias, defvaralias, define-category): Add a docstring property.
2005-10-24 16:47:53 +00:00
Stefan Monnier
79e74246bc (define-obsolete-function-alias, define-obsolete-variable-alias):
Add `doc-string' declaration.
2005-10-24 16:44:55 +00:00
Stefan Monnier
18880c272f (ad-make-advised-definition): Fix arg-order.
(defadvice): Add `doc-string' declaration.
2005-10-24 16:14:34 +00:00
Stefan Monnier
38729cfb2a (macro-declaration-function): Add a `doc-string' declaration. 2005-10-24 16:10:42 +00:00
Stefan Monnier
1fe3c8f535 (debugger-make-xrefs): Don't assume case-fold-search is nil.
(debug-help-follow): Use help-xref-interned directly.
2005-10-24 03:52:35 +00:00
Lars Hansen
4ec5239cc9 (byte-compile-lambda): Add parameter add-lambda.
(byte-compile-file-form-defmumble, byte-compile-defun, byte-compile-defmacro): Use it.
(byte-compile-form): Don't call byte-compile-set-symbol-position when a byte-compile
handler is called.
2005-10-23 07:33:45 +00:00