comparison lisp/emacs-lisp/edebug.el @ 80025:f162659514ca

Comment changes.
author Richard M. Stallman <rms@gnu.org>
date Mon, 04 Feb 2008 16:54:05 +0000
parents 78ee6fae0e41
children 76e75acf7e4e f991f10f15ec
comparison
equal deleted inserted replaced
80024:9231505e5076 80025:f162659514ca
1494 (edebug-set-cursor cursor (edebug-cursor-expressions cursor) 1494 (edebug-set-cursor cursor (edebug-cursor-expressions cursor)
1495 (cdr (edebug-cursor-offsets cursor))) 1495 (cdr (edebug-cursor-offsets cursor)))
1496 (cond 1496 (cond
1497 ((symbolp head) 1497 ((symbolp head)
1498 (cond 1498 (cond
1499 ((null head) nil) ; () is legal. 1499 ((null head) nil) ; () is valid.
1500 ((eq head 'interactive-p) 1500 ((eq head 'interactive-p)
1501 ;; Special case: replace (interactive-p) with variable 1501 ;; Special case: replace (interactive-p) with variable
1502 (setq edebug-def-interactive 'check-it) 1502 (setq edebug-def-interactive 'check-it)
1503 (edebug-move-cursor cursor) 1503 (edebug-move-cursor cursor)
1504 (edebug-interactive-p-name)) 1504 (edebug-interactive-p-name))
2074 ;; The simple version: 2074 ;; The simple version:
2075 ;; (backquote-form &rest backquote-form) 2075 ;; (backquote-form &rest backquote-form)
2076 ;; doesn't handle (a . ,b). The straightforward fix: 2076 ;; doesn't handle (a . ,b). The straightforward fix:
2077 ;; (backquote-form . [&or nil backquote-form]) 2077 ;; (backquote-form . [&or nil backquote-form])
2078 ;; uses up too much stack space. 2078 ;; uses up too much stack space.
2079 ;; Note that `(foo . ,@bar) is not legal, so we don't need to handle it. 2079 ;; Note that `(foo . ,@bar) is not valid, so we don't need to handle it.
2080 (backquote-form [&rest [&not ","] backquote-form] 2080 (backquote-form [&rest [&not ","] backquote-form]
2081 . [&or nil backquote-form]) 2081 . [&or nil backquote-form])
2082 ;; If you use dotted forms in backquotes, replace the previous line 2082 ;; If you use dotted forms in backquotes, replace the previous line
2083 ;; with the following. This takes quite a bit more stack space, however. 2083 ;; with the following. This takes quite a bit more stack space, however.
2084 ;; (backquote-form . [&or nil backquote-form]) 2084 ;; (backquote-form . [&or nil backquote-form])