diff --git a/asdf.lisp b/asdf.lisp index ea783008d347fff989130409d3095b9d35277165..5540c4f530bc00ef2968adad9f1693ce3e49be52 100644 --- a/asdf.lisp +++ b/asdf.lisp @@ -1303,7 +1303,11 @@ source code.") *utf-8-external-format*))) (defmethod (setf component-external-format) (new-value (c component)) - (setf (component-property c :external-format) new-value)) + (setf (component-property c :external-format) + (or + #+clisp (and (keywordp new-value) + (intern (symbol-name new-value) :charset)) + new-value))) (defclass proto-system () ; slots to keep when resetting a system ;; To preserve identity for all objects, we'd need keep the components slots