aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThien-Thi Nguyen2007-05-17 13:33:12 +0000
committerThien-Thi Nguyen2007-05-17 13:33:12 +0000
commit992aa6b715846133621bf2d6861b86fda807be95 (patch)
treeb6aed599e9f7b48cd7f16562a78e6e41907b885c
parent10e3e762bf0c91e3dbbbbc18a72c7e4a57ea118b (diff)
downloademacs-992aa6b715846133621bf2d6861b86fda807be95.tar.gz
emacs-992aa6b715846133621bf2d6861b86fda807be95.zip
(sgml-tag): Fix bug: Call sgml-transformation-function.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/sgml-mode.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bca021e7add..cf842507737 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-05-17 Christian Plate <cplate@web.de> (tiny change)
2
3 * textmodes/sgml-mode.el (sgml-tag):
4 Fix bug: Call sgml-transformation-function.
5
12007-05-17 Martin Rudalics <rudalics@gmx.at> 62007-05-17 Martin Rudalics <rudalics@gmx.at>
2 7
3 * hilit-chg.el (highlight-changes-rotate-faces): Don't set 8 * hilit-chg.el (highlight-changes-rotate-faces): Don't set
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 51ff5e48a34..e8beed036c2 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -619,10 +619,10 @@ This only works for Latin-1 input."
619 "Prompt for a tag and insert it, optionally with attributes. 619 "Prompt for a tag and insert it, optionally with attributes.
620Completion and configuration are done according to `sgml-tag-alist'. 620Completion and configuration are done according to `sgml-tag-alist'.
621If you like tags and attributes in uppercase do \\[set-variable] 621If you like tags and attributes in uppercase do \\[set-variable]
622`skeleton-transformation-function' RET `upcase' RET, or put this 622`sgml-transformation-function' RET `upcase' RET, or put this
623in your `.emacs': 623in your `.emacs':
624 (setq sgml-transformation-function 'upcase)" 624 (setq sgml-transformation-function 'upcase)"
625 (funcall (or skeleton-transformation-function 'identity) 625 (funcall (or sgml-transformation-function 'identity)
626 (setq sgml-tag-last 626 (setq sgml-tag-last
627 (completing-read 627 (completing-read
628 (if (> (length sgml-tag-last) 0) 628 (if (> (length sgml-tag-last) 0)