aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-07-04 03:37:24 +0000
committerJuanma Barranquero2005-07-04 03:37:24 +0000
commitfae1a9063106831cd8ea613abf1e31d71f6c45f9 (patch)
tree3b9b7b89e2d74a62bc455c29a41f54fab40c5a00
parent08fffc3fb4dbd2938f900bc17e207fca9e6e2cba (diff)
downloademacs-fae1a9063106831cd8ea613abf1e31d71f6c45f9.tar.gz
emacs-fae1a9063106831cd8ea613abf1e31d71f6c45f9.zip
(sgml): Finish `defgroup' description with period.
(html-imenu-index, sgml-attributes, sgml-auto-attributes): "?\ " -> "?\s".
-rw-r--r--lisp/textmodes/sgml-mode.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 8e83a8fe90f..a4b5787981d 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -40,7 +40,7 @@
40 (require 'cl)) 40 (require 'cl))
41 41
42(defgroup sgml nil 42(defgroup sgml nil
43 "SGML editing mode" 43 "SGML editing mode."
44 :group 'languages) 44 :group 'languages)
45 45
46(defcustom sgml-basic-offset 2 46(defcustom sgml-basic-offset 2
@@ -670,12 +670,12 @@ If QUIET, do not print a message when there are no attributes for TAG."
670 (message "No attributes configured.")) 670 (message "No attributes configured."))
671 (if (stringp (car alist)) 671 (if (stringp (car alist))
672 (progn 672 (progn
673 (insert (if (eq (preceding-char) ? ) "" ? ) 673 (insert (if (eq (preceding-char) ?\s) "" ?\s)
674 (funcall skeleton-transformation (car alist))) 674 (funcall skeleton-transformation (car alist)))
675 (sgml-value alist)) 675 (sgml-value alist))
676 (setq i (length alist)) 676 (setq i (length alist))
677 (while (> i 0) 677 (while (> i 0)
678 (insert ? ) 678 (insert ?\s)
679 (insert (funcall skeleton-transformation 679 (insert (funcall skeleton-transformation
680 (setq attribute 680 (setq attribute
681 (skeleton-read '(completing-read 681 (skeleton-read '(completing-read
@@ -685,7 +685,7 @@ If QUIET, do not print a message when there are no attributes for TAG."
685 (setq i 0) 685 (setq i 0)
686 (sgml-value (assoc (downcase attribute) alist)) 686 (sgml-value (assoc (downcase attribute) alist))
687 (setq i (1- i)))) 687 (setq i (1- i))))
688 (if (eq (preceding-char) ? ) 688 (if (eq (preceding-char) ?\s)
689 (delete-backward-char 1))) 689 (delete-backward-char 1)))
690 car))) 690 car)))
691 691
@@ -701,7 +701,7 @@ With prefix argument, only self insert."
701 (eq (aref tag 0) ?/)) 701 (eq (aref tag 0) ?/))
702 (self-insert-command (prefix-numeric-value arg)) 702 (self-insert-command (prefix-numeric-value arg))
703 (sgml-attributes tag) 703 (sgml-attributes tag)
704 (setq last-command-char ? ) 704 (setq last-command-char ?\s)
705 (or (> (point) point) 705 (or (> (point) point)
706 (self-insert-command 1))))) 706 (self-insert-command 1)))))
707 707
@@ -1875,7 +1875,7 @@ The third `match-string' will be the used in the menu.")
1875 (setq toc-index 1875 (setq toc-index
1876 (cons (cons (concat (make-string 1876 (cons (cons (concat (make-string
1877 (* 2 (1- (string-to-number (match-string 1)))) 1877 (* 2 (1- (string-to-number (match-string 1))))
1878 ?\ ) 1878 ?\s)
1879 (match-string 3)) 1879 (match-string 3))
1880 (line-beginning-position)) 1880 (line-beginning-position))
1881 toc-index)))) 1881 toc-index))))