X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/63efcc268635dea78c6bd80749eae4ee2c72d717..c430f7e23fc2c22f251ace4254e37dea1452dfc3:/lisp/svg.el diff --git a/lisp/svg.el b/lisp/svg.el index b6beaadc03..c4f3270ea8 100644 --- a/lisp/svg.el +++ b/lisp/svg.el @@ -29,14 +29,14 @@ (require 'dom) (defun svg-create (width height &rest args) - "Create a new, empty SVG image with dimentions WIDTHxHEIGHT. + "Create a new, empty SVG image with dimensions WIDTHxHEIGHT. ARGS can be used to provide `stroke' and `stroke-width' parameters to any further elements added." (dom-node 'svg `((width . ,width) (height . ,height) (version . "1.1") - (xmlsn . "http://www.w3.org/2000/svg") + (xmlns . "http://www.w3.org/2000/svg") ,@(svg--arguments nil args)))) (defun svg-gradient (svg id type stops)