mirror of
https://github.com/samsonjs/blog.git
synced 2026-03-25 09:05:51 +00:00
784 B
784 B
Title: Emacs: tagify-region-or-insert-tag Date: June 25, 2007 Timestamp: 1182809580 Author: sjs Tags: emacs, tagify
After axing half of wrap-region.el I renamed it to tagify.el and improved it ever so slightly. It's leaner, and does more!
tagify-region-or-insert-tag does the same thing as wrap-region-with-tag except if there is no region it now inserts the opening and closing tags and sets point in between them. I have this bound to C-z t, as I use C-z as my personal command prefix.
< is bound to tagify-region-or-insert-self which really doesn't warrant an explanation.