]> code.delx.au - gnu-emacs/blobdiff - lisp/svg.el
Remove some face aliases obsoleted in 22.1
[gnu-emacs] / lisp / svg.el
index b6beaadc0325d3d1cb670b197358b507df665610..c4f3270ea8a0cb2541a2485f4d5899cf3f10604b 100644 (file)
 (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)