We Recommend

Version Control with Subversion Version Control with Subversion
Written by members of the Subversion open source development team, Version Control with Subversion introduces the powerful new versioning tool designed to be the successor to the Concurrent Version System or CVS. CVS users will find the "look and feel" Subversion comfortably familiar, but under the surface it's far more flexible, robust, and usable, and more importantly, it improves on CVS's more notable flaws.


Posted By

noah on 06/02/07


Tagged

html code emacs


Versions (?)


BASE tag insertion macro


Published in: Emacs Lisp 


Insert a BASE HREF tag just after the head tag of an HTML document
Positions point just after the second forwardslash in "HTTP://"


  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;; Insert a BASE HREF tag just after the head tag of an HTML document
  3. ;; Positions point just after the second forwardslash in "HTTP://"
  4.  
  5. (fset 'insert-base-href
  6. [?\M-< ?\C-s ?< ?h ?e ?a ?d ?\C-e return return return up ?< ?b ?a ?s ?e ? ?h ?r ?e ?f ?= ?" ?h ?t ?t ?p ?: ?/ ?/ ?" ?> left left])

Report this snippet 

You need to login to post a comment.