Mercurial > emacs
comparison lisp/emacs-lisp/edebug.el @ 3591:507f64624555
Apply typo patches from Paul Eggert.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 09 Jun 1993 11:59:12 +0000 |
parents | c9689f8d0574 |
children | fd03ee47c0b2 |
comparison
equal
deleted
inserted
replaced
3590:d5f22061277d | 3591:507f64624555 |
---|---|
125 ;;; eval-region now does not narrow region. | 125 ;;; eval-region now does not narrow region. |
126 ;;; Narrowing was the cause of the window-start being set wrong. | 126 ;;; Narrowing was the cause of the window-start being set wrong. |
127 ;;; Reset edebug-mode only on | 127 ;;; Reset edebug-mode only on |
128 ;;; first entry of any function at each recursive-edit level. | 128 ;;; first entry of any function at each recursive-edit level. |
129 ;;; Add edebug-backtrace, to generate cleaned up | 129 ;;; Add edebug-backtrace, to generate cleaned up |
130 ;;; backtrace. It doesnt "work" like the debug backtrace, however. | 130 ;;; backtrace. It doesn't "work" like the debug backtrace, however. |
131 ;;; Require reselecting outside window even if | 131 ;;; Require reselecting outside window even if |
132 ;;; quit occurs, otherwise save-excursions may restore | 132 ;;; quit occurs, otherwise save-excursions may restore |
133 ;;; buffer to the wrong window. | 133 ;;; buffer to the wrong window. |
134 ;;; | 134 ;;; |
135 ;;; Revision 2.2 90/11/26 21:14:22 liberte | 135 ;;; Revision 2.2 90/11/26 21:14:22 liberte |
178 ;;; Another parsing fix backquote. | 178 ;;; Another parsing fix backquote. |
179 ;;; Fix for lambda forms inside defuns. | 179 ;;; Fix for lambda forms inside defuns. |
180 ;;; Leave point at syntax error, mark at starting position. | 180 ;;; Leave point at syntax error, mark at starting position. |
181 ;;; | 181 ;;; |
182 ;;; Revision 1.2 88/11/28 12:14:15 liberte | 182 ;;; Revision 1.2 88/11/28 12:14:15 liberte |
183 ;;; Bug fixes: cond construct didnt execute. | 183 ;;; Bug fixes: cond construct didn't execute. |
184 ;;; () in sexp list didnt parse | 184 ;;; () in sexp list didn't parse |
185 ;;; () as variable in condition-case didnt parse. | 185 ;;; () as variable in condition-case didn't parse. |
186 ;;; | 186 ;;; |
187 ;;; Revision 1.1 88/11/28 12:11:27 liberte | 187 ;;; Revision 1.1 88/11/28 12:11:27 liberte |
188 ;;; Initial revision | 188 ;;; Initial revision |
189 ;;; | 189 ;;; |
190 | 190 |
279 (point)) | 279 (point)) |
280 (point))))) | 280 (point))))) |
281 | 281 |
282 (defun edebug-window-list () | 282 (defun edebug-window-list () |
283 "Return a list of windows, in order of next-window." | 283 "Return a list of windows, in order of next-window." |
284 ;; This doesnt work for epoch. | 284 ;; This doesn't work for epoch. |
285 (let* ((first-window (selected-window)) | 285 (let* ((first-window (selected-window)) |
286 (window-list (list first-window)) | 286 (window-list (list first-window)) |
287 (next (next-window first-window))) | 287 (next (next-window first-window))) |
288 (while (not (eq next first-window)) | 288 (while (not (eq next first-window)) |
289 (setq window-list (cons next window-list)) | 289 (setq window-list (cons next window-list)) |
1024 )) | 1024 )) |
1025 value-value-list))) | 1025 value-value-list))) |
1026 (nreverse value-value-list))) | 1026 (nreverse value-value-list))) |
1027 | 1027 |
1028 | 1028 |
1029 ;; Bug: this doesnt support condition name lists | 1029 ;; Bug: this doesn't support condition name lists |
1030 (put 'condition-case 'edebug-form-hook | 1030 (put 'condition-case 'edebug-form-hook |
1031 '(symbolp | 1031 '(symbolp |
1032 form | 1032 form |
1033 &rest (symbolp &optional form))) | 1033 &rest (symbolp &optional form))) |
1034 | 1034 |
1396 (if (or edebug-stop | 1396 (if (or edebug-stop |
1397 (eq edebug-mode 'step) | 1397 (eq edebug-mode 'step) |
1398 (eq edebug-arg-mode 'error)) | 1398 (eq edebug-arg-mode 'error)) |
1399 (progn | 1399 (progn |
1400 (setq edebug-mode 'step) | 1400 (setq edebug-mode 'step) |
1401 (edebug-overlay-arrow) ; this doesnt always show up. | 1401 (edebug-overlay-arrow) ; this doesn't always show up. |
1402 (edebug-recursive-edit));; <<<<<< Recursive edit | 1402 (edebug-recursive-edit));; <<<<<< Recursive edit |
1403 ) | 1403 ) |
1404 | 1404 |
1405 (if edebug-save-buffer-points | 1405 (if edebug-save-buffer-points |
1406 (edebug-set-buffer-points)) | 1406 (edebug-set-buffer-points)) |