diff options
| author | John Wiegley <johnw@newartisans.com> | 2003-01-24 22:15:24 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2003-01-24 22:15:24 +0000 |
| commit | 1d21056c33920730ac304e7358bd56fd9d0c58a3 (patch) | |
| tree | bdbd8b74205a83c2d9cabf9b7ea111024f7c9001 | |
| parent | 1caa30a584bed3414b02b0b2d3083f33f5744810 (diff) | |
Use a more specific signal rather than `error'.
| -rw-r--r-- | lispdoc.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,7 +14,8 @@ (if (and begin end) (delete-region begin end)) (let* ((sym (or (intern-soft name) - (error "'%s' is not a function!" name))) + (signal 'wrong-type-argument + (list 'functionp name)))) (data (let ((func (symbol-function sym))) (while (symbolp func) (setq func (symbol-function func))) |
