diff options
author | Eli Zaretskii <eliz@gnu.org> | 2007-03-24 15:54:09 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2007-03-24 15:54:09 +0000 |
commit | 6e5a4966d5d187cb5966c0b2db8ca2f7a06329b8 (patch) | |
tree | 3e61263f2c312a486c918dd284e5e0e79886b105 /lisp/emacs-lisp | |
parent | 9788311dace8f7feb67be81eebf682b6a98f9a82 (diff) | |
download | emacs-6e5a4966d5d187cb5966c0b2db8ca2f7a06329b8.tar.gz emacs-6e5a4966d5d187cb5966c0b2db8ca2f7a06329b8.tar.bz2 emacs-6e5a4966d5d187cb5966c0b2db8ca2f7a06329b8.zip |
(testcover-start, testcover-end, testcover-mark-all, testcover-unmark-all): Add
prompts to interactive specs.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/testcover.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el index d8c171e111d..7d7e788523b 100644 --- a/lisp/emacs-lisp/testcover.el +++ b/lisp/emacs-lisp/testcover.el @@ -190,7 +190,7 @@ call to one of the `testcover-1value-functions'." changes the instrumentation from edebug to testcover--much faster, no problems with type-ahead or post-command-hook, etc. If BYTE-COMPILE is non-nil, byte-compiles each function after instrumenting." - (interactive "f") + (interactive "fStart covering file: ") (let ((buf (find-file filename)) (load-read-function 'testcover-read) (edebug-all-defs t)) @@ -428,10 +428,10 @@ FUN should be `testcover-reinstrument' for compositional functions, list) result)) -(defun testcover-end (buffer) +(defun testcover-end (filename) "Turn off instrumentation of all macros and functions in FILENAME." - (interactive "b") - (let ((buf (find-file-noselect buffer))) + (interactive "fStop covering file: ") + (let ((buf (find-file-noselect filename))) (eval-buffer buf t))) @@ -513,7 +513,7 @@ eliminated by adding more test cases." (defun testcover-mark-all (&optional buffer) "Mark all forms in BUFFER that did not get completley tested during coverage tests. This function creates many overlays." - (interactive "b") + (interactive "bMark forms in buffer: ") (if buffer (switch-to-buffer buffer)) (goto-char 1) @@ -523,7 +523,7 @@ coverage tests. This function creates many overlays." (defun testcover-unmark-all (buffer) "Remove all overlays from FILENAME." - (interactive "b") + (interactive "bUnmark forms in buffer: ") (condition-case nil (progn (set-buffer buffer) |