view emacs/xml-hack.el @ 6:a01ff74f9fd7

fix accumulator bug in Lava.__init__
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 May 2021 17:20:04 -0400
parents 509549c55989
children
line wrap: on
line source

(defun sgml-tag-again ()
  "Insert another of the tag we're in as sibling"
  (interactive )
  (let ((elt (sgml-find-element-of (point))))
    (sgml-up-element)
    (sgml-insert-element elt)))

(define-key sgml-mode-map "\C-cn" 'sgml-tag-again)