Skip to content

Instantly share code, notes, and snippets.

@bitops
Created November 17, 2014 06:42
Show Gist options
  • Select an option

  • Save bitops/f06f593b48bdbe9e192a to your computer and use it in GitHub Desktop.

Select an option

Save bitops/f06f593b48bdbe9e192a to your computer and use it in GitHub Desktop.
(defun wrap-tag ()
(interactive)
(let ((name (symbol-at-point)))
(insert (concat "<" (symbol-name name) ">" "</" (symbol-name name) ">"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment