Skip to content

Commit

Permalink
dok
Browse files Browse the repository at this point in the history
  • Loading branch information
mayerrobert committed Nov 15, 2024
1 parent a31e842 commit ed3b72b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mlib.html
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@
ab"

### Function: error
(error [condition-type] control-string args*) -> |
(error [condition-type] controlstring-or-formatfunction args*) -> |

Since: 1.5

Expand Down
2 changes: 1 addition & 1 deletion mlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ Sample usage:
ab"

### Function: error
(error [condition-type] control-string args*) -> |
(error [condition-type] controlstring-or-formatfunction args*) -> |

Since: 1.5

Expand Down
4 changes: 2 additions & 2 deletions samples.murmel-mlib/mlib.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -4222,13 +4222,13 @@


;;; = Function: error
;;; (error [condition-type] control-string args*) -> |
;;; (error [condition-type] controlstring-or-formatfunction args*) -> |
;;;
;;; Since: 1.5
;;;
;;; A simplified subset of Common Lisp's function `error`.
(defun error (datum . args)
(if (typep datum 'symbol)
(if (symbolp datum)
(jerror datum (apply format (cons nil args)))
(jerror 'simple-error (apply format (list* nil datum args)))))

Expand Down

0 comments on commit ed3b72b

Please sign in to comment.