summaryrefslogtreecommitdiff
path: root/lisp/textmodes/sgml-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/sgml-mode.el')
-rw-r--r--lisp/textmodes/sgml-mode.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 71ef6169302..99cb10ae497 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -23,8 +23,8 @@
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Commentary:
@@ -40,7 +40,7 @@
(require 'cl))
(defgroup sgml nil
- "SGML editing mode"
+ "SGML editing mode."
:group 'languages)
(defcustom sgml-basic-offset 2
@@ -668,12 +668,12 @@ If QUIET, do not print a message when there are no attributes for TAG."
(message "No attributes configured."))
(if (stringp (car alist))
(progn
- (insert (if (eq (preceding-char) ? ) "" ? )
+ (insert (if (eq (preceding-char) ?\s) "" ?\s)
(funcall skeleton-transformation (car alist)))
(sgml-value alist))
(setq i (length alist))
(while (> i 0)
- (insert ? )
+ (insert ?\s)
(insert (funcall skeleton-transformation
(setq attribute
(skeleton-read '(completing-read
@@ -683,7 +683,7 @@ If QUIET, do not print a message when there are no attributes for TAG."
(setq i 0)
(sgml-value (assoc (downcase attribute) alist))
(setq i (1- i))))
- (if (eq (preceding-char) ? )
+ (if (eq (preceding-char) ?\s)
(delete-backward-char 1)))
car)))
@@ -699,7 +699,7 @@ With prefix argument, only self insert."
(eq (aref tag 0) ?/))
(self-insert-command (prefix-numeric-value arg))
(sgml-attributes tag)
- (setq last-command-char ? )
+ (setq last-command-char ?\s)
(or (> (point) point)
(self-insert-command 1)))))
@@ -1873,7 +1873,7 @@ The third `match-string' will be the used in the menu.")
(setq toc-index
(cons (cons (concat (make-string
(* 2 (1- (string-to-number (match-string 1))))
- ?\ )
+ ?\s)
(match-string 3))
(line-beginning-position))
toc-index))))