summaryrefslogtreecommitdiff
path: root/lisp/textmodes/sgml-mode.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-10-18 08:30:49 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-10-18 08:30:49 +0000
commita9d4efa2390c7c1962ad7ea61f6facfd569ea225 (patch)
treed8d981f3d69287129e26a14e7bf9aae6602fc64f /lisp/textmodes/sgml-mode.el
parent51b5edd64f80f7b2c07c569d1511bc4a52eac4df (diff)
downloademacs-a9d4efa2390c7c1962ad7ea61f6facfd569ea225.tar.gz
(sgml-close-tag, html-imenu-index): Fix typo.
Diffstat (limited to 'lisp/textmodes/sgml-mode.el')
-rw-r--r--lisp/textmodes/sgml-mode.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index f5bd3236412..dc2af7067f3 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -1074,14 +1074,14 @@ immediately enclosing the current position."
(/= (point) (sgml-tag-start (car context)))
(sgml-unclosed-tag-p (sgml-tag-name (car context)))))
(setq tag-info (ignore-errors (sgml-parse-tag-backward))))
-
+
;; This tag may enclose things we thought were tags. If so,
;; discard them.
(while (and context
(> (sgml-tag-end tag-info)
(sgml-tag-end (car context))))
(setq context (cdr context)))
-
+
(cond
;; start-tag
@@ -1144,7 +1144,7 @@ If FULL is non-nil, parse back to the beginning of the buffer."
;; Editing shortcuts
(defun sgml-close-tag ()
- "Insert an close-tag for the current element."
+ "Insert a close-tag for the current element."
(interactive)
(case (car (sgml-lexical-context))
(comment (insert " -->"))
@@ -1259,7 +1259,7 @@ If FULL is non-nil, parse back to the beginning of the buffer."
(goto-char there)
(+ (current-column)
(* sgml-basic-offset (length context))))))
-
+
(otherwise
(error "Unrecognised context %s" (car lcon)))
@@ -1740,7 +1740,7 @@ The second `match-string' matches extra tags and is ignored.
The third `match-string' will be the used in the menu.")
(defun html-imenu-index ()
- "Return an table of contents for an HTML buffer for use with Imenu."
+ "Return a table of contents for an HTML buffer for use with Imenu."
(let (toc-index)
(save-excursion
(goto-char (point-min))