Index: sgml-mode.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/textmodes/sgml-mode.el,v retrieving revision 1.124 diff -c -r1.124 sgml-mode.el *** sgml-mode.el 17 May 2007 13:31:51 -0000 1.124 --- sgml-mode.el 17 May 2007 16:56:21 -0000 *************** *** 676,687 **** (if (stringp (car alist)) (progn (insert (if (eq (preceding-char) ?\s) "" ?\s) ! (funcall skeleton-transformation-function (car alist))) (sgml-value alist)) (setq i (length alist)) (while (> i 0) (insert ?\s) ! (insert (funcall skeleton-transformation-function (setq attribute (skeleton-read '(completing-read "Attribute: " --- 676,687 ---- (if (stringp (car alist)) (progn (insert (if (eq (preceding-char) ?\s) "" ?\s) ! (funcall sgml-transformation-function (car alist))) (sgml-value alist)) (setq i (length alist)) (while (> i 0) (insert ?\s) ! (insert (funcall sgml-transformation-function (setq attribute (skeleton-read '(completing-read "Attribute: " *************** *** 1921,2026 **** (define-skeleton html-href-anchor "HTML anchor tag with href attribute." "URL: " ! ;; '(setq input "http:") ! "" _ "") (define-skeleton html-name-anchor "HTML anchor tag with name attribute." "Name: " ! "" _ "") (define-skeleton html-headline-1 "HTML level 1 headline tags." nil ! "
" _ (if sgml-xml-mode "
")) ! (define-skeleton html-checkboxes "Group of connected checkbox inputs." nil '(setq v1 nil v2 nil) ("Value: " ! "" ">") (skeleton-read "Text: " (capitalize str)) (or v2 (setq v2 (if (y-or-n-p "Newline after text? ") ! (funcall skeleton-transformation-function ! (if sgml-xml-mode "") ! _ ! (if sgml-xml-mode (funcall sgml-transformation-function "
"))) ! (define-skeleton html-checkboxes "Group of connected checkbox inputs." nil '(setq v1 nil v2 nil) ("Value: " ! (funcall sgml-transformation-function "" ">") (skeleton-read "Text: " (capitalize str)) (or v2 (setq v2 (if (y-or-n-p "Newline after text? ") ! (funcall sgml-transformation-function ! (if sgml-xml-mode "