bugfix: Fix #242

This commit is contained in:
Joao Tavora
2012-05-22 17:47:32 +01:00
parent a7b78cf198
commit c38c3aaab8
3 changed files with 57 additions and 55 deletions

View File

@@ -108,7 +108,7 @@
(interactive)
(let* ((tag-at-point (sgml-beginning-of-tag))
(fragment (and tag-at-point
(aget yas/html-tag-description-urls (upcase tag-at-point)))))
(cdr (assoc (upcase tag-at-point) yas/html-tag-description-urls)))))
(if fragment
(browse-url (concat "http://www.w3.org/TR/html4/index/"
fragment))