diff options
| author | Juanma Barranquero | 2002-10-18 08:30:49 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-10-18 08:30:49 +0000 |
| commit | a9d4efa2390c7c1962ad7ea61f6facfd569ea225 (patch) | |
| tree | d8d981f3d69287129e26a14e7bf9aae6602fc64f | |
| parent | 51b5edd64f80f7b2c07c569d1511bc4a52eac4df (diff) | |
| download | emacs-a9d4efa2390c7c1962ad7ea61f6facfd569ea225.tar.gz emacs-a9d4efa2390c7c1962ad7ea61f6facfd569ea225.zip | |
(sgml-close-tag, html-imenu-index): Fix typo.
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 10 |
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." | |||
| 1074 | (/= (point) (sgml-tag-start (car context))) | 1074 | (/= (point) (sgml-tag-start (car context))) |
| 1075 | (sgml-unclosed-tag-p (sgml-tag-name (car context))))) | 1075 | (sgml-unclosed-tag-p (sgml-tag-name (car context))))) |
| 1076 | (setq tag-info (ignore-errors (sgml-parse-tag-backward)))) | 1076 | (setq tag-info (ignore-errors (sgml-parse-tag-backward)))) |
| 1077 | 1077 | ||
| 1078 | ;; This tag may enclose things we thought were tags. If so, | 1078 | ;; This tag may enclose things we thought were tags. If so, |
| 1079 | ;; discard them. | 1079 | ;; discard them. |
| 1080 | (while (and context | 1080 | (while (and context |
| 1081 | (> (sgml-tag-end tag-info) | 1081 | (> (sgml-tag-end tag-info) |
| 1082 | (sgml-tag-end (car context)))) | 1082 | (sgml-tag-end (car context)))) |
| 1083 | (setq context (cdr context))) | 1083 | (setq context (cdr context))) |
| 1084 | 1084 | ||
| 1085 | (cond | 1085 | (cond |
| 1086 | 1086 | ||
| 1087 | ;; start-tag | 1087 | ;; start-tag |
| @@ -1144,7 +1144,7 @@ If FULL is non-nil, parse back to the beginning of the buffer." | |||
| 1144 | ;; Editing shortcuts | 1144 | ;; Editing shortcuts |
| 1145 | 1145 | ||
| 1146 | (defun sgml-close-tag () | 1146 | (defun sgml-close-tag () |
| 1147 | "Insert an close-tag for the current element." | 1147 | "Insert a close-tag for the current element." |
| 1148 | (interactive) | 1148 | (interactive) |
| 1149 | (case (car (sgml-lexical-context)) | 1149 | (case (car (sgml-lexical-context)) |
| 1150 | (comment (insert " -->")) | 1150 | (comment (insert " -->")) |
| @@ -1259,7 +1259,7 @@ If FULL is non-nil, parse back to the beginning of the buffer." | |||
| 1259 | (goto-char there) | 1259 | (goto-char there) |
| 1260 | (+ (current-column) | 1260 | (+ (current-column) |
| 1261 | (* sgml-basic-offset (length context)))))) | 1261 | (* sgml-basic-offset (length context)))))) |
| 1262 | 1262 | ||
| 1263 | (otherwise | 1263 | (otherwise |
| 1264 | (error "Unrecognised context %s" (car lcon))) | 1264 | (error "Unrecognised context %s" (car lcon))) |
| 1265 | 1265 | ||
| @@ -1740,7 +1740,7 @@ The second `match-string' matches extra tags and is ignored. | |||
| 1740 | The third `match-string' will be the used in the menu.") | 1740 | The third `match-string' will be the used in the menu.") |
| 1741 | 1741 | ||
| 1742 | (defun html-imenu-index () | 1742 | (defun html-imenu-index () |
| 1743 | "Return an table of contents for an HTML buffer for use with Imenu." | 1743 | "Return a table of contents for an HTML buffer for use with Imenu." |
| 1744 | (let (toc-index) | 1744 | (let (toc-index) |
| 1745 | (save-excursion | 1745 | (save-excursion |
| 1746 | (goto-char (point-min)) | 1746 | (goto-char (point-min)) |