comparison emacs/xml-hack.el @ 0:509549c55989

from elsewhere
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 May 2021 13:57:42 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509549c55989
1 (defun sgml-tag-again ()
2 "Insert another of the tag we're in as sibling"
3 (interactive )
4 (let ((elt (sgml-find-element-of (point))))
5 (sgml-up-element)
6 (sgml-insert-element elt)))
7
8 (define-key sgml-mode-map "\C-cn" 'sgml-tag-again)