 
 (require 'sgml-mode)
 (require 'custom-defuns)
+(eval-when-compile
+  (require 'lazy-lock)
+  )
 
 
 ;;------------------------------------------------------------

  "<code>" _ "</code>")


(define-skeleton jpw-lj-user
  "A LiveJounral \"user\" tag."
  "Who? "
  "<lj user=" str ">")


(define-skeleton jpw-lj-cut
  "A LiveJounral \"cut\" tag."
  "Cut label: "
  "<lj-cut text=\"" str "\">" _ "</lj-cut>")


;; Redefinition of some of the html-mode skeleton functions, to ensure that


      (define-key jpw-lj-mode-map "\M-gu" 'jpw-html-underline)

      (define-key jpw-lj-mode-map "\M-go" 'jpw-html-code)

      (define-key jpw-lj-mode-map "\M-gd" 'jpw-html-del)

      (define-key jpw-lj-mode-map "\M-g\M-s" 'jpw-lj-insert-size)


      (define-key jpw-lj-mode-map "\M-p\C-i" 'html-image)

      (define-key jpw-lj-mode-map "\M-pa" 'jpw-html-href-anchor)
      (define-key jpw-lj-mode-map "\M-p\C-u" 'jpw-html-href-anchor)

      (define-key jpw-lj-mode-map "\M-pl" 'jpw-lj-insert-list)

