(strokes-prompt-user-save-strokes): Use insert instead of insert-string.
authorPavel Janík <Pavel@Janik.cz>
Mon, 26 Nov 2001 16:22:21 +0000 (16:22 +0000)
committerPavel Janík <Pavel@Janik.cz>
Mon, 26 Nov 2001 16:22:21 +0000 (16:22 +0000)
lisp/strokes.el

index 7c9423b..e3a1f2b 100644 (file)
@@ -1295,13 +1295,13 @@ This is based on the last time the `strokes-window-configuration was updated."
                  (erase-buffer)
                  (emacs-lisp-mode)
                  (goto-char (point-min))
-                 (insert-string
+                 (insert
                   ";;   -*- Syntax: Emacs-Lisp; Mode: emacs-lisp -*-\n")
-                 (insert-string (format ";;; saved strokes for %s, as of %s\n\n"
+                 (insert (format ";;; saved strokes for %s, as of %s\n\n"
                                         (user-full-name)
                                         (format-time-string "%B %e, %Y" nil)))
                  (message "Saving strokes in %s..." strokes-file)
-                 (insert-string (format "(setq strokes-global-map '%s)"
+                 (insert (format "(setq strokes-global-map '%s)"
                                         (pp current)))
                  (message "Saving strokes in %s..." strokes-file)
                  (indent-region (point-min) (point-max) nil)