Mercurial > hg > xemacs
comparison shared/xml-hack.el @ 0:107d592c5f4a
DICE versions, used by pers/common, recursive, I think/hope
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Mon, 08 Feb 2021 11:44:37 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:107d592c5f4a |
|---|---|
| 1 (defun sgml-tag-again () | |
| 2 "Insert another of the tag we're in as sibling" | |
| 3 (interactive ) | |
| 4 (let ((elt (sgml-element-name (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) |
