Mercurial > hg > xemacs
view shared/xml-hack.el @ 31:129123962e51
trying to merge lib/emacs and xemacs
author | Henry S Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sat, 07 Oct 2023 12:43:14 +0100 |
parents | 107d592c5f4a |
children |
line wrap: on
line source
(defun sgml-tag-again () "Insert another of the tag we're in as sibling" (interactive ) (let ((elt (sgml-element-name (sgml-find-element-of (point))))) (sgml-up-element) (sgml-insert-element elt))) (define-key sgml-mode-map "\C-cn" 'sgml-tag-again)