view shared/xml-hack.el @ 69:d43503e9e431

copy of ~/u/AppData/Roaming/Microsoft/Outlook/VbaProject.OTM rather than soft link
author Henry Thompson <ht@markup.co.uk>
date Mon, 09 Jun 2025 13:21:04 +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)