Commit graph

1652 commits

Author SHA1 Message Date
Eli Zaretskii
1b1556b11a (lisp-mode-variables): Recognize `@' in function names. 2005-03-19 14:01:52 +00:00
Juri Linkov
fe3947c39d (find-function-regexp): Add defun-emitting macro `menu-bar-make-toggle'. 2005-03-16 07:41:57 +00:00
Lute Kamstra
dc64809a6f (debugger-make-xrefs): Docstring fix. Ignore a `*' at the beginning
of a line.
2005-03-14 17:46:09 +00:00
Lute Kamstra
623374a568 (macro-declaration-function): Move from subr.el.
(dont-compile, eval-when-compile, eval-and-compile): Use declare to
specify indentation.
2005-03-14 14:05:13 +00:00
Lute Kamstra
c4fbcb0182 (debug): Set debug-on-exit before calling debugger-setup-buffer so
that backtrace marks the frames set to debug-on-exit and we don't have
to do it manually.  Set an extra debug-on-exit for macro's.
(debugger-setup-buffer): Don't mark the top frame manually.
2005-03-13 20:54:14 +00:00
Lute Kamstra
3fdfb09c1c Replace lisp-indent-hook with lisp-indent-function throughout.
(with-no-warnings): Set lisp-indent-function property.
2005-03-12 17:24:29 +00:00
Lute Kamstra
449808f757 (debug-entry-code): Delete it.
(implement-debug-on-entry): New function to replace debug-entry-code.
(debug-on-entry-1): Use implement-debug-on-entry.  Delete the second
argument as the 2005-03-07 change makes it obsolete.
(debug-on-entry, cancel-debug-on-entry): Update call to
debug-on-entry-1.
(debug, debugger-setup-buffer): Comment update.
(debugger-frame-number): Update to work with implement-debug-on-entry.
2005-03-10 09:43:01 +00:00
Miles Bader
f195388009 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-167
Tweak obsolete function/variable warning message

2005-03-09  Miles Bader  <miles@gnu.org>

   * lisp/emacs-lisp/bytecomp.el (byte-compile-variable-ref)
   (byte-compile-obsolete): Change " since VER" to " (as of Emacs VER)".
2005-03-09 10:16:02 +00:00
Lute Kamstra
9b54d4534e (debugger-step-through): Make sure that stepping into the debugger's
code is not possible.
(debugger-jumping-flag): Docstring update.
2005-03-08 20:15:57 +00:00
Stefan Monnier
a29cf45057 (debug-on-entry-1): Fix handling of macros. 2005-03-07 14:12:27 +00:00
Lute Kamstra
15cf150db7 (debugger-step-after-exit): Make it a defvar.
(debug-function-list): Ditto.
2005-03-04 14:48:14 +00:00
Lute Kamstra
b6b77a9068 (inhibit-debug-on-entry): Add docstring.
(debugger-jumping-flag): New var.
(debug-entry-code): Use it.
(debugger-jump): Use debugger-jumping-flag and add debugger-reenable
to post-command-hook.
(debugger-reenable): Use debugger-jumping-flag and remove itself from
post-command-hook.
(debug, debug-on-entry, cancel-debug-on-entry): Remove call to
debugger-reenable.
2005-03-03 16:25:13 +00:00
Lute Kamstra
439368ed41 (debug): Skip one more frame in case of debug on entry.
(debugger-setup-buffer): Delete one more frame line in case of debug
on entry.
(debugger-frame-number): Update to use the new text introduced by the
1999-11-03 change.  Skip one more frame in case of debug on entry.
2005-03-01 13:02:37 +00:00
Kim F. Storm
40534fe432 Fix years. 2005-03-01 10:15:32 +00:00
Kim F. Storm
422032f0ca (copyright-fix-years): New command. 2005-03-01 10:14:48 +00:00
Lute Kamstra
07f3fdb1d1 (debug-on-entry-1): Reimplement to make sure that debug-entry-code can
be safely removed from a function while this code is being evaluated.
Revert the 2005-02-27 change as the new implementation no longer
requires it.  Make sure that a function body containing just a string
is not mistaken for a docstring.
2005-03-01 09:08:47 +00:00
Stefan Monnier
cf9a1b693f (inhibit-debug-on-entry): New var.
(debug): Use it.  Move the inhibit-trace earlier.
(debug-entry-code): New const.
(debug-on-entry-1): Use it.
2005-02-28 14:33:50 +00:00
Richard M. Stallman
e342a48a65 (regexp-builder): New function. 2005-02-27 10:35:51 +00:00
Richard M. Stallman
e29824bddc (debug-on-entry-1): If function body is empty, add nil as body form. 2005-02-27 09:57:51 +00:00
Stefan Monnier
5f8a82e1ac (inhibit-trace): New var.
(trace-make-advice): Use it.
2005-02-27 02:30:58 +00:00
Stefan Monnier
3f4468ab4e (debug): Put back the inhibit-trace. 2005-02-27 02:26:05 +00:00
Stefan Monnier
78d54deee7 (debug): Hide the buffer if it's not killed.
Remove unused and inexistent var `inhibit-trace'.
(debugger-mode): Use run-mode-hooks.
(debugger-list-functions): Add buttons; setup xref stack.
2005-02-26 05:28:24 +00:00
Lute Kamstra
43817a7520 (lisp-mode-variables): Add ;;;###autoload to `outline-regexp'.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>
(lisp-outline-level): Improve efficiency.  Suggested by David Kastrup
<dak@gnu.org>.
2005-02-15 09:23:22 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
03deb635e5 (buffer-end): Doc fix. 2005-02-06 10:40:20 +00:00
Thien-Thi Nguyen
cc08f5b253 (lisp-indent-function): Fix bug:
When delegating, order args in the funcall correctly.
2005-02-01 15:50:46 +00:00
Thien-Thi Nguyen
b961eb0e98 (lisp-indent-function): Doc fix. 2005-02-01 15:02:50 +00:00
Stefan Monnier
f9475d97ee (eval-defun-1): Make sure `defvar' always sets the default value. 2005-01-28 16:27:13 +00:00
Richard M. Stallman
dd60a465fb (backward-kill-sexp, kill-sexp): Doc fixes. 2005-01-17 23:48:10 +00:00
Richard M. Stallman
d4b6c2e332 (lm-with-file): Use Lisp mode in temp buffer.
In non-temp buffer, switch syntax table temporarily.
2005-01-15 18:16:44 +00:00
Richard M. Stallman
5a77048aef (indent-pp-sexp): Doc fix. 2005-01-15 18:11:33 +00:00
Reiner Steib
9deb0abaf8 Fixed typo in Commentary section. 2005-01-12 16:07:42 +00:00
Richard M. Stallman
8d3e54757a Comment changes. 2005-01-09 00:30:53 +00:00
Richard M. Stallman
c7ce7fc43b (find-face-definition): Renamed from find-face. 2005-01-07 02:52:29 +00:00
John Paul Wallington
d7975e20a0 Update copyright. Update commentary to mention rx syntax support. 2005-01-06 21:58:17 +00:00
Richard M. Stallman
436c08c288 (find-variable, find-variable-other-window, find-variable-other-frame):
Fix the TYPE args to find-function-read and find-function-do-it.
(find-function): Doc fix.
(find-function-at-point): Replace function-at-point alias.
2005-01-05 19:31:57 +00:00
Richard M. Stallman
0acffda1d3 Doc fixes.
(find-face-regexp): New variable.
(find-function-regexp-alist): New variable.
(find-function-C-source): Third arg is now TYPE.
(find-function-search-for-symbol): Handle general TYPE.
(find-function-read, find-function-do-it): Handle general TYPE.
(find-definition-noselect, find-face): New functions.
(function-at-point): Alias deleted.
2005-01-05 01:08:24 +00:00
Stefan Monnier
1b60b25ac3 (find-variable-regexp): Avoid defface. 2005-01-03 22:05:12 +00:00
Richard M. Stallman
afb62fddcf (mark-sexp, mark-defun): New arg ALLOW-EXTEND
enables the feature to extend the existing region.
2004-12-29 01:32:06 +00:00
Richard M. Stallman
654359e2e3 (debugger-make-xrefs): Call symbol-file with `defun'. 2004-12-27 16:17:46 +00:00
Richard M. Stallman
9f14330b7b (find-function-noselect): Call symbol-file with `defun'.
(find-variable-noselect): Call symbol-file with `defvar'.
2004-12-27 16:17:10 +00:00
Richard M. Stallman
4db985039f Comment change. 2004-12-21 11:50:52 +00:00
Kim F. Storm
90c08845df (beginning-of-defun, end-of-defun): Don't
use inhibit-mark-movement.
2004-12-14 12:18:11 +00:00
Richard M. Stallman
8e2eba0979 (elint-standard-variables, elint-unknown-builtin-args): Move definitions up. 2004-12-13 19:34:46 +00:00
Juri Linkov
967e1a52ad * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun):
Do not push mark when mark is active in transient-mark-mode.
* emacs-lisp/lisp.el (mark-sexp, mark-defun):
Extend the region when mark is active in transient-mark-mode,
regardless of the last command.  Doc fix.
* emacs-lisp/lisp.el (mark-sexp): Reverse the condition for
preserving direction, to mark forward instead of backward when mark
is equal to point (e.g. when C-SPC C-M-SPC is typed in t-m-m).
2004-12-13 03:09:59 +00:00
Stefan Monnier
e8592238a1 (checkdoc-continue, checkdoc-comments, checkdoc-message-text, checkdoc-defun):
Fix format messages for calls to `error'.
2004-12-11 22:01:42 +00:00
Stefan Monnier
22864a4875 (regexp-opt-depth): Use subregexp-context-p.
(regexp-opt-not-groupie*-re): Remove.
(regexp-opt): Properly handle inputs with duplicate entries.
2004-12-06 15:12:46 +00:00
Richard M. Stallman
9dda72d3ea (elint-standard-variables): Update list of variables. 2004-12-03 00:11:21 +00:00
Juri Linkov
20c78df04b (edebug-set-global-break-condition):
Use `read-expression-history'.  Set initial contents only if
`edebug-global-break-condition' is non-nil.  Set histpos to 1
if initial contents is equal to the last history element.
(edebug-set-conditional-breakpoint): Instead of temporarily
prepending the current condition to the history, set initial
contents to the current condition.  Set histpos to 1 if initial
contents is equal to the last history element.
2004-11-28 07:57:10 +00:00
Richard M. Stallman
f5c9c551ad Comment changes. 2004-11-27 19:02:52 +00:00