svg-tag-mode
svg-tag-mode copied to clipboard
Fixed corner cases of svg-tag--cursor-function
This PR fixes two corner cases in svg-tag--cursor-function
:
-
(+ (point) 1)
might exceed the end of the buffer; -
end
might benil
.
Thanks. Can you reduce the PR? GitHub highlights some changes that do not appear to be actual change (I don't know why) Also, can you sign the Emacs copyright assignment?
Thanks. Can you reduce the PR? GitHub highlights some changes that do not appear to be actual change (I don't know why)
That is because of the indent changes. I added a when
clause which makes the code indent more.
Also, can you sign the Emacs copyright assignment?
I have sent the email and will update here later.