Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn misisng color names #558

Merged
merged 2 commits into from
Jun 11, 2020
Merged

warn misisng color names #558

merged 2 commits into from
Jun 11, 2020

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Nov 12, 2019

Color name not found did not tell us which color is not found....

@k-okada
Copy link
Member Author

k-okada commented Nov 12, 2019

Thank you for contributing jskeus documentation

Please check latest documents before merging

PDF version of Japanese jmanual: jmanual.pdf
HTML version of Japanese manual: jmanual.html
Sphinx (ReST) version of Japanese manual: jmanual.rst

irteus/irtgl.l Outdated
@@ -460,7 +460,7 @@
((symbolp color)
(setq c (find-if #'(lambda (o) (eq (send o :name) color))
*face-colors*))
(if c (send c :diffuse) (warn "Color name not found ")))
(if c (send c :diffuse) (warn "Color name (~A) not found " color)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also add a new line after the message?

@k-okada
Copy link
Member Author

k-okada commented Jun 7, 2020

Thank you for contributing jskeus documentation

Please check latest documents before merging

PDF version of Japanese jmanual: jmanual.pdf
HTML version of Japanese manual: jmanual.html
Sphinx (ReST) version of Japanese manual: jmanual.rst

@k-okada k-okada merged commit f0653bc into euslisp:master Jun 11, 2020
@k-okada k-okada deleted the fix_color_warning branch June 11, 2020 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants