[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] map 35c27cd: Throw an error when converting a map into
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] map 35c27cd: Throw an error when converting a map into an unknown map type |
Date: |
Sat, 18 Apr 2015 13:47:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> + (t (error "Not a map type name: %s" type))))
^^
%S
In case the user didn't pass the right argument `type' may be something
else than a symbol, so the use of %S makes sure that the error will give
a precise description (e.g. if `type' is the string "hash-table", the
error message could be surprising).
Stefan
- Re: [Emacs-diffs] map 35c27cd: Throw an error when converting a map into an unknown map type,
Stefan Monnier <=